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.
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
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
Jim M. (Guest)
on 2006-04-26 05: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.
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
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.