is_reviewable
is_reviewable copied to clipboard
Can't make it work with acts_as_archive
Hy everyone,
We are trying to use this gem with acts_as_archive. To make it simple we have items that have multiple reviews. We added acts_as_archive on both the item model and the newly created review model using class Review < IsReviewable::Review
The problem is that when we want to generate the archive tables, it doesn't generate anything for the review model... Therefore, when we destroy an item it goes to the archived_items table but it's reviews get deleted from the database, whereas of course we'd like them to be archived aswell.
Any idea on how to get it work ?
Thanks