I am having the same problem in relation to your last point:

 "There are other considerations I need to think about as well; such as
how would I tell the Registration it is registerable_type Spreader so it
can create a new registration form that loads in the fields I need for
the Spreader as well as the fields for all registrations.  I am getting
ahead of myself."


Did you work out a solution for this?  here is the issue I am having :



I have created a polymorphic association with Assets being the main 
class and article, image and offers being the sub classes.

I am trying to work out what is the best way to create individual asset 
types (article, image or offer) and pass this request through to the 
controller.  Do I specify the asset to be created in the request url 
e.g. new/image or do ?  What other methods can I use

At present I hard code the asset type in the new and create controller 
for Asset.

I am fine with editing or showing already created assets, as i can 
determine the asset type by querying the .class value of the asset.

Any help would be appreciated.

-- 
Posted via http://www.ruby-forum.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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to