Forum: Ruby on Rails HABTM with ajax_scaffold

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 Adam Denenberg (Guest)
on 2006-04-26 03:04
(Received via mailing list)
has anyone managed to do this?  It works great for has_one, belongs_to
type
stuff, but i cant seem to get a HABTM setup going.  Any demo code or
advice
greatly appreciated.

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

adam
C31c7255fa4488dfc5d766403b497a36?d=identicon&s=25 Jim Morris (wolfmanjm)
on 2006-04-26 03:34
(Received via mailing list)
Try asking here as well... http://groups.google.com/group/ajaxscaffold
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.
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 Adam Denenberg (Guest)
on 2006-04-26 03:47
(Received via mailing list)
thanks.  I assume the habtm is just the same as the has_many with some
minor
changes but i dont want to really mess with it.  Thanks for the heads up
on
the group...

adam
This topic is locked and can not be replied to.