rails custom primary key rails 6 code example
Example: how to make custom primary key rails
# In the migration table...
create_table :items, id: false do |t|
...
end
# In the migration table...
create_table :items, id: false do |t|
...
end