acts_as_archive icon indicating copy to clipboard operation
acts_as_archive copied to clipboard

Error with AlsoMigrate when migrating for first time

Open jaybrueder opened this issue 13 years ago • 4 comments

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.

jaybrueder avatar Oct 06 '11 12:10 jaybrueder

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

charlietran avatar Nov 09 '11 01:11 charlietran

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

joragupra avatar Dec 02 '11 17:12 joragupra

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

stgeneral avatar Jan 26 '12 11:01 stgeneral

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

aayushkumar avatar Oct 21 '12 02:10 aayushkumar