Closed ndelage closed 13 years ago
Tested a bit more and it appears you need to add acts_as_archive to every single model or you'll receive the stack level too deep error.
A quick fix might be to mention this requirement in the documentation. I had originally planned to only use acts_as_archvied on some of my models (on my production application). Seems I'll have to use it for every single model.
Can't seem to reproduce my earlier success with act_as_archive added to each AR model class.
So for me, this is an open issue. I can't get acts_as_archive to work at all locally.
Thank you so much for your very clear explanation of how to reproduce this. If only all descriptions were this good.
You'll be happy to know that your problem is fixed with the latest release (0.3.4).
Thanks so much for the quick fix!
rails (2.3.10) acts_as_archive (0.3.2) also_migrate (0.3.2)
Creating a sample project with acts_as_archive as a required gem caused migrations to fail with a "stack level too deep" error message.
To reproduce:
Now add acts_as_archive as a required gem to config/environment.rb