Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `api_list_action' v 3.0.23 with BrowserCMS #8

Open
crh3675 opened this issue Feb 18, 2011 · 0 comments
Open

undefined method `api_list_action' v 3.0.23 with BrowserCMS #8

crh3675 opened this issue Feb 18, 2011 · 0 comments

Comments

@crh3675
Copy link

crh3675 commented Feb 18, 2011

I installled the Gem, added this to my environment.rb file:

config.gem 'bcurren-freshbooks.rb', :lib => 'freshbooks', :version => '3.0.23'

And added an initializer (freshbooks_startup.rb):

FreshBooks::Base.establish_connection('mysite.freshbooks.com', 'myapikey')

And I receive this error:

undefined method `api_list_action'

Note that I am using this on a BrowserCMS platform, an open source Rails CMS project. It only happens on one CMS admin page. Here is the full dump, any help is appreciated.

Message

undefined method `api_list_action' for #Class:0x2374a90

Stacktrace

/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1994:in method_missing' /opt/local/lib/ruby/gems/1.8/gems/bcurren-freshbooks.rb-3.0.23/lib/freshbooks/base.rb:105:inlist'
/opt/local/lib/ruby/gems/1.8/gems/browsercms-3.1.2/app/controllers/cms/content_block_controller.rb:130:in load_blocks' /opt/local/lib/ruby/gems/1.8/gems/browsercms-3.1.2/app/controllers/cms/content_block_controller.rb:14:inindex'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in send' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:inperform_action_without_filters'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in call_filters' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:inperform_action_without_benchmark'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:inms'
/opt/local/lib/ruby/1.8/benchmark.rb:308:in realtime' /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:inms'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:inperform_action_without_flash'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in perform_action' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:insend'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in process_without_filters' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:inprocess'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in process' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:incall'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in call' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:87:indispatch'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:121:in _call' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:130:inbuild_middleware_stack'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in call' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:incall'
/Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in call' /Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:incall'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in call' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/abstract_store.rb:128:incall'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:29:in call' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:9:in cache' /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/query_cache.rb:28:incall'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/failsafe.rb:26:incall'
/Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in call' /Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:insynchronize'
/Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/lock.rb:11:in call' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:114:incall'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/reloader.rb:34:in run' /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:108:incall'
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/rails/rack/static.rb:31:in call' /Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:incall'
/Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:in each' /Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:41:incall'
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/rails/rack/log_tailer.rb:17:in call' /Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:incall'
/Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/handler/webrick.rb:48:in service' /opt/local/lib/ruby/1.8/webrick/httpserver.rb:104:inservice'
/opt/local/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /opt/local/lib/ruby/1.8/webrick/server.rb:173:instart_thread'
/opt/local/lib/ruby/1.8/webrick/server.rb:162:in start' /opt/local/lib/ruby/1.8/webrick/server.rb:162:instart_thread'
/opt/local/lib/ruby/1.8/webrick/server.rb:95:in start' /opt/local/lib/ruby/1.8/webrick/server.rb:92:ineach'
/opt/local/lib/ruby/1.8/webrick/server.rb:92:in start' /opt/local/lib/ruby/1.8/webrick/server.rb:23:instart'
/opt/local/lib/ruby/1.8/webrick/server.rb:82:in start' /Users/crh/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/handler/webrick.rb:14:inrun'
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in gem_original_require' /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:inrequire'
script/server:3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant