I'm trying to integrate Comatose into a Rails project which uses ActiveRecord heavily. When I do so, however, and try to run
rake --trace db:migrate RAILS_ENV=test I get the following errors: $ rake --trace db:migrate RAILS_ENV=test (in /Users/steve/src/XXX) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! wrong number of arguments (0 for 1) XXX/vendor/plugins/active_scaffold/lib/active_scaffold/config/ core.rb: 126:in `delete' XXX/vendor/plugins/active_scaffold/lib/active_scaffold/config/ core.rb: 126:in `send' XXX/vendor/plugins/active_scaffold/lib/active_scaffold/config/ core.rb: 126:in `_load_action_columns' XXX/vendor/plugins/active_scaffold/lib/active_scaffold/ data_structures/ actions.rb:20:in `each' XXX/vendor/plugins/active_scaffold/lib/active_scaffold/ data_structures/ actions.rb:20:in `each' XXX/vendor/plugins/active_scaffold/lib/active_scaffold/config/ core.rb: 125:in `_load_action_columns' XXX/vendor/plugins/active_scaffold/lib/active_scaffold.rb:58:in `active_scaffold' XXX/app/controllers/admin/accounts_controller.rb:2 ...... The accounts_controller.rb invokes ActiveScaffold, but is not doing anything exotic. This problem arises just by having the Comatose plugin located in the vendor/plugin directory, even if the plugin itself is not loaded (i.e. by explicity removing it from the config.plugins array). By deleting vendor/plugin/comatose, this problem goes away. This issue only appears to arise in the test environment. When I run the app in the development environment everything works just fine, and there are no errors reported. Any ideas as to what's happening, and whether ActiveRecord, Comatose or something else is at fault? Thanks, Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
