Forum: Ruby on Rails HABTM with ajax_scaffold

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.
Adam D. (Guest)
on 2006-04-26 05:04
(Received via mailing list)
has anyone managed to do this?  It works great for has_one, belongs_to
stuff, but i cant seem to get a HABTM setup going.  Any demo code or
greatly appreciated.

Excellent work on this tool by the way its really great work.

Jim M. (Guest)
on 2006-04-26 05:34
(Received via mailing list)
Try asking here as well...
it is a pretty
active group.

Basically I have done habtm using the standard checkbox approach, just
put the
checkboxes in the _form.rhtml. That works ok for editing, however
displaying habtm in
the table would be trickier, I have not needed to do that yet.
Adam D. (Guest)
on 2006-04-26 05:47
(Received via mailing list)
thanks.  I assume the habtm is just the same as the has_many with some
changes but i dont want to really mess with it.  Thanks for the heads up
the group...

This topic is locked and can not be replied to.