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
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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedJan 23, '16 at 12:19a
activeJan 23, '16 at 12:19a

1 user in discussion

Fugee ohu: 1 post



site design / logo © 2021 Grokbase