I'm pretty new at Rails and am setting up a new application that is user based. My data model is a bit complicated so I'm trying to figure out how much I have to associate with each user. Here's a generic rundown: a user has an inventory of items. Each item has the following:
Status [for sale, sold, not for sale]
It is possible that if the user has many copies/versions of an item so that each location may have N number, with a price, some number are sold, unsold, etc.
I've thought about having a model setup like this:
has_many :itemSets # <--- DO I NEED THIS???
belongs_to :user # <--- ???
Status [sold, for sale, not for sale]
Is this the right association concept? And do I have to associate ItemSets to users? I'll never be showing them outside of their association with an item... Thanks and I hope this makes sense!!