HABTM with ajax_scaffold


#1

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


#2

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.


#3

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