my profile model  has_many :pictures, as: :imageable and so do several 
other models
my picture model  belongs_to :imageable, polymorphic: true
in the pictures table fields imageable_id and imageable_type have both been 
migrated
ok now i create a new_user_profile_picture how are the values for 
imageable_id and imageable_type gonna be inserted into the pictures table 
please? ~ thanks

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/fe58d207-ad71-4bb1-b1b1-64e7b7d30628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to