Displaying 1 result from an estimated 1 matches for "authorimage".
2011 Sep 04
1
polymorphic association
...ciation.
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 Gro...