Issue with ActiveAdmin integration

37 views
Skip to first unread message

rpeterson

unread,
Oct 31, 2011, 1:09:26 PM10/31/11
to cantango
I am trying to get CanTango working with ActiveAdmin here and am not
getting this error:

NameError: undefined local variable or method `delete_ActiveAdmin' for
CanTango::Rails::Helpers::RestHelper:Module
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/rest_helper.rb:7:in `class_eval'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/rest_helper.rb:7:in `class_eval'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/rest_helper.rb:7:in `block in <module:RestHelper>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/rest_helper.rb:2:in `each'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/rest_helper.rb:2:in `<module:RestHelper>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/rest_helper.rb:1:in `<top (required)>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/base_helper.rb:7:in `included'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/controller_helper.rb:5:in `include'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/controller_helper.rb:5:in `<module:ControllerHelper>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/controller_helper.rb:4:in `<module:Helpers>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/controller_helper.rb:3:in `<module:Rails>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/controller_helper.rb:2:in `<module:CanTango>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
helpers/controller_helper.rb:1:in `<top (required)>'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
engine.rb:12:in `block in include_helpers'
~/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/
active_support/lazy_load_hooks.rb:36:in `instance_eval'
~/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/
active_support/lazy_load_hooks.rb:36:in `execute_hook'
~/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/
active_support/lazy_load_hooks.rb:26:in `on_load'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
engine.rb:11:in `include_helpers'
~/.rvm/gems/ruby-1.9.2-p290/gems/cantango-0.9.3.2/lib/cantango/rails/
engine.rb:24:in `block in <class:RailsEngine>'
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/
initializable.rb:30:in `instance_exec'
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/
initializable.rb:30:in `run'
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/
initializable.rb:55:in `block in run_initializers'
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/
initializable.rb:54:in `each'
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/
initializable.rb:54:in `run_initializers'
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/
application.rb:96:in `initialize!'
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/railtie/
configurable.rb:30:in `method_missing'
~/Projects/repos/central/config/environment.rb:5:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
~/Projects/repos/central/config.ru:3:in `block in <main>'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/
nack/builder.rb:4:in `instance_eval'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/
nack/builder.rb:4:in `initialize'
~/Projects/repos/central/config.ru:1:in `new'
~/Projects/repos/central/config.ru:1:in `<main>'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/
nack/server.rb:50:in `eval'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/
nack/server.rb:50:in `load_config'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/
nack/server.rb:43:in `initialize'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/
nack/server.rb:13:in `new'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/
nack/server.rb:13:in `run'
~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/bin/
nack_worker:4:in `<main>'

Игнат Воробьёв

unread,
Nov 1, 2011, 12:33:20 AM11/1/11
to cant...@googlegroups.com
thanks

2011/10/31 rpeterson <ry...@mathusee.com>:

Reply all
Reply to author
Forward
0 new messages