Setting attributes on a has_many through relationship

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs