Forum: Ruby on Rails Re: Re: multiple habtm problem

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.
arudgick (Guest)
on 2005-12-10 03:06
(Received via mailing list)
i've established that only the habtm relationhip listed first in my
model will submit to the join on the 'new' action

yet both still work on the 'update' action

Nick S. (Guest)
on 2005-12-15 22:47
(Received via mailing list)
I've found this too Anthony. Have you opened up a bug report on this?

Mel R. (Guest)
on 2005-12-15 22:59
(Received via mailing list)
Hey Nick, Anthony, ara,

Search the archives of this mailing list for: *[Rails] Problem with
when model has two HABTM
Several people have contibuted to this 'feature'.

The short of it, on create you have to save the collection owner and
alter the collections.

Not ideal, but works.

It still might be a good idea to submit an issue for this; the
suggests even the first collection shouldn't be saved for newly created
models, though.

Steven Mohapi-Banks (Guest)
on 2005-12-15 23:14
(Received via mailing list)
I submitted a ticket a couple of days ago.

Apparently it has been fixed. I haven't checked out the latest trunk
yet to test it.
Nick S. (Guest)
on 2005-12-16 02:38
(Received via mailing list)
Ya, found this ticket and tried out the patch. Seems to work alright for
This topic is locked and can not be replied to.