On 11/2/06, Ike <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
wrote:> WHen I have a model that has an HABTM relationship defined within it,
> and I am using the scaffolding_extension plugin, should I expect
> something specil to be rendered in any of the pages created? For
> example, if I go to edit a record that I have specified has an HABTM
> relationship, should something specail appear on the page (a list box,
> perhaps, where you can select multiple items?).
It depends on how you are calling the scaffold function (specifically
the :habtm option). If you are using scaffold_all_models, then all
the HABTM association pages should be setup, and if you go to edit a
record, under "Associated Records" you should see the HABTM associated
model, as well as an edit link. The edit link takes you to a page
where you can update the associated records.
Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---