Skip to content

Instantly share code, notes, and snippets.

@spiritbear
Created October 3, 2013 18:13
Show Gist options
  • Select an option

  • Save spiritbear/6814380 to your computer and use it in GitHub Desktop.

Select an option

Save spiritbear/6814380 to your computer and use it in GitHub Desktop.
2.0.0p247 :008 > Lobbyist::Company.find(141)
NoMethodError: undefined method `<<' for nil:NilClass
from /Users/shivindap/Documents/customerlobby-rails/accounts/lib/lobbyist/lib/lobbyist/error/client_error.rb:10:in `initialize'
from /Users/shivindap/Documents/customerlobby-rails/accounts/lib/lobbyist/lib/lobbyist/base.rb:144:in `new'
from /Users/shivindap/Documents/customerlobby-rails/accounts/lib/lobbyist/lib/lobbyist/base.rb:144:in `handle_response'
from /Users/shivindap/Documents/customerlobby-rails/accounts/lib/lobbyist/lib/lobbyist/base.rb:80:in `get'
from /Users/shivindap/Documents/customerlobby-rails/accounts/lib/lobbyist/lib/lobbyist/company.rb:84:in `find'
from (irb):8
from /Users/shivindap/.rvm/gems/ruby-2.0.0-p247@accounts/gems/railties-3.2.12/lib/rails/commands/console.rb:47:in `start'
from /Users/shivindap/.rvm/gems/ruby-2.0.0-p247@accounts/gems/railties-3.2.12/lib/rails/commands/console.rb:8:in `start'
from /Users/shivindap/.rvm/gems/ruby-2.0.0-p247@accounts/gems/railties-3.2.12/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment