Created
November 1, 2011 16:15
-
-
Save thomasv314/1330975 to your computer and use it in GitHub Desktop.
Savon Client Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError: You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.[] | |
from /Users/thomasvendetta/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/savon-0.9.7/lib/savon/soap/fault.rb:33:in `to_hash' | |
from /Users/thomasvendetta/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/savon-0.9.7/lib/savon/soap/fault.rb:28:in `to_s' | |
from /Users/thomasvendetta/Code/RegApp/app/models/registrant.rb:277:in `rescue in nf_shopping_cart_insert' | |
from /Users/thomasvendetta/Code/RegApp/app/models/registrant.rb:273:in `nf_shopping_cart_insert' | |
from (irb):14 | |
from /Users/thomasvendetta/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/commands/console.rb:45:in `start' | |
from /Users/thomasvendetta/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/commands/console.rb:8:in `start' | |
from /Users/thomasvendetta/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.0/lib/rails/commands.rb:40:in `<top (required)>' | |
from script/rails:6:in `require' | |
from script/rails:6:in `<main>' |
Author
thomasv314
commented
Nov 1, 2011
mhh. i looked at the code and tried it out in irb, but ... i think it should just work.
i can take a closer look at it tomorrow.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment