I think you're adding only book_images and no author_images at all. But I'm nbot sure, because you're not providing your code
Try something like this: @asset.imageable = @author or AuthorImage.create attributes I don't know if you made the right decision with using polymorphic associations. You need to provide more information what your associations are. For example: Author has_many Images OR Author has_one image And can the image belong to a book and an author as well? -- 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.

