Integration problems between Comatose and ActiveScaffold?

0 views
Skip to first unread message

Steve Flinter

unread,
Apr 17, 2009, 10:42:57 AM4/17/09
to Comatose Plugin
I'm trying to integrate Comatose into a Rails project. 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/vakobi-cms)
** 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.

Any ideas?
Reply all
Reply to author
Forward
0 new messages