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 -------------- next part -------------- An HTML attachment was scrubbed... URL: wrath.rubyonrails.org/pipermail/rails/attachments/20060426/67138fa7/attachment.html
Try asking here as well... 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 Denenberg wrote:> 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 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails
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 On 4/25/06, Jim Morris <morris@wolfman.com> wrote:> > Try asking here as well... 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 Denenberg wrote: > > 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 > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: wrath.rubyonrails.org/pipermail/rails/attachments/20060426/7dc7f41e/attachment.html