rails set custom primary key in model 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