Forum: Ruby on Rails Setting attributes on a has_many through relationship

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eric M. (Guest)
on 2009-04-24 22:01
(Received via mailing list)
The has_many through setup detailed below allows me to do << and << for establishing the
relationships, using an array of software or system objects,
respectively.  This works out well because my form for software has a
software_ids multi-select.  The problem I have is that the join model
has additional attributes to store.  Can I use the above method and
somehow also include the additional attributes or do I have to do x = x.system_status = SystemStatus.find(params


has_many :system_software
has_many :software, :through => :system_software


has_many :system_software
has_many :software, :through => :system_software


belongs_to :system
belongs_to :software
This topic is locked and can not be replied to.