I have several rich join models and I was wondering if it was possible or rails convention to have the following:
has_many :users through => rich_association_one
has_many :rich_association_one
has_many :users through => rich_accociation_two
has_many :rich_association_two
Thanks
it may be possible, but i think you will have to use different aliases – as you seem to expect, i think that calling
has_many :userstwice will bring doom upon your model.try something like this :
more basic info on
has_manyoptions is available on RoR guides.