Hello, I have a scenario where I want to save a author image and book image to assets table...
I am using a polymorphic association. And author_name is inside the books table. now when I save the image the imageable_type says "Book" for both. And off-course it's a correct behavior, but I am just trying to figure out is there any way where I can save author image and imageable_type should have "AuthorImage" and it should call the same Book model Solution: Other solution I am thinking to separate the Author from book and have it in another table. Please it will be really helpful if someone can help me out. Thanks abhis -- 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.

