not running in 3.2.. issue w migration rollback #44

erwin16 opened this Issue Feb 12, 2012 · 0 comments


None yet
1 participant

erwin16 commented Feb 12, 2012

even with suggested modifications in code for running 3.1
fine for db:migrate, but cannot do db:rollback correctly..

not running fine with migrations in development mode:
when doing a rake db:rollback
yves$ rake db:rollback
== CreateAreaServicesTable: reverting ========================================
-- drop_table(:area_services)
-> 0.0021s
== CreateAreaServicesTable: reverted (0.0022s) ===============================

rake aborted!
An error has occurred, all later migrations canceled:
wrong number of arguments (1 for 3)
/Users/yves/.rvm/gems/ruby-1.9.3-p0@rails32/bundler/gems/acts_as_archive-0ec158dd1ca8/lib/acts_as_archive.rb:206:in delete_with_archive' /Users/yves/.rvm/gems/ruby-1.9.3-p0@rails32/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:14:indelete'
/Users/yves/.rvm/gems/ruby-1.9.3-p0@rails32/gems/activerecord-3.2.0/lib/active_record/migration.rb:740:in record_version_state_after_migrating' /Users/yves/.rvm/gems/ruby-1.9.3-p0@rails32/gems/activerecord-3.2.0/lib/active_record/migration.rb:705:inblock (2 levels) in migrate'

I tried to disable it in the development environment

ActsAsArchive.disabled = true
but now way ...

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