winton / acts_as_archive

Don't delete your records, move them to a different table
MIT License
372 stars 87 forks source link

Error with AlsoMigrate when migrating for first time #37

Open jaybrueder opened 13 years ago

jaybrueder commented 13 years ago

I just added acts_as_archive to a brand new Rails 3.1 app and I get this error when running rake db:migrate :

AlsoMigrate error: undefined local variable or method `old_table' for   AlsoMigrate::Migrator::InstanceMethods::AlsoMigrate:Module

It does not create any of the archiv tables. I just use Rails 3.1 out of the box. ActsAsArchive was the first gem I added and tested.

charlietran commented 12 years ago

I have the same problem, Rails 3.1 with REE. Any update on this?

joragupra commented 12 years ago

I have the same problem too. Is there any fix?

stgeneral commented 12 years ago

I have the same error message on SQLite DB, on MySQL DB migrations work ok. Rails 3.1.3, ruby 1.9.3.

aayushkumar commented 12 years ago

Has anyone found a fix for this? I am using Rails 3.2.1 and Ruby 1.9.3p194.