is_reviewable icon indicating copy to clipboard operation
is_reviewable copied to clipboard

Can't make it work with acts_as_archive

Open mlainez opened this issue 14 years ago • 0 comments

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

mlainez avatar Mar 11 '10 08:03 mlainez