Welcome to Working With Rails   Discussion Forums  Help with <<,
has_many :through, and intermediate attributes 3 Posts Help with
<<, has_many :through, and intermediate attributes  I searched
for hours for a way to use << with a has_many :through
association and set the intermediate attribute, until I came
across a post that said setting intermediate attributes is not
possible with <<< as a result of the has_many :through
association, that it would defeat the whole purpose of having a
has_many :through (intermediate attributes) if << didn't allow
them to be set.  Am I missing something? What is my best option?
Should I just create an "add" method that simply creates a new
join model record w/ the necessary values set? How can I do
something like this?  @system.software << @software, {:status_id
=> '1'}  By intermediate attributes you mean attributes on the
join model? If so, then the post you read is correct. There is
no way to directly set attributes on the join model when you use
<< with a has_many :throug