Topic: Can I do this with rails models? Own table for Category, without ID
So, can I do this: (as correct database convention is setup to not get redundancy for the category table)
One model for Movie that has, for example these fields:
And then one index that links to the Genre-table in a many-to-many-relation.
And then another model named Genre with only one field:
This last one pretty much contain static data about the Genres, and requires NO ID, only uniqueness.