If i have the string ''us_address'' how can I use that to create
an instance for a view?
@us_address = UsAddress.new
Also, does anyone have a URL for how to construct forms for use with polymorphic
associations? Everything I''ve seen up to now only shows the model
relationships. How do you prepare to use this association in a form?
What''s the best way to know what partial to load based on what model a
particular association will use?
I need to use multiple address types, us, eu, etc.
Thanks,
--
Greg Donald
Cyberfusion Consulting
http://cyberfusionconsulting.com/
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---