You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
TRACE--------
/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'
END TRACE -----
I tried to disable it in the development environment
ActsAsArchive.disabled = true
but now way ...
The text was updated successfully, but these errors were encountered:
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)
TRACE--------
/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:in
delete'/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:in
block (2 levels) in migrate'END TRACE -----
I tried to disable it in the development environment
The text was updated successfully, but these errors were encountered: