Can't make it work with acts_as_archive #7

Open
mlainez opened this Issue Mar 11, 2010 · 0 comments

Projects

None yet

1 participant

mlainez commented Mar 11, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment