Skip to content

Instantly share code, notes, and snippets.

@maletor
Created August 12, 2012 21:55
Show Gist options
  • Save maletor/9ca7907a5b17a6bc662f to your computer and use it in GitHub Desktop.
Save maletor/9ca7907a5b17a6bc662f to your computer and use it in GitHub Desktop.
NoMethodError:
undefined method `each_byte' for nil:NilClass
# /Users/maletor/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/common.rb:307:in `block in escape'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.8/lib/active_support/core_ext/string/output_safety.rb:158:in `gsub'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.8/lib/active_support/core_ext/string/output_safety.rb:158:in `gsub'
# /Users/maletor/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/common.rb:304:in `escape'
# /Users/maletor/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/common.rb:623:in `escape'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/hash_conversions.rb:35:in `normalize_param'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/hash_conversions.rb:15:in `block in to_params'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/hash_conversions.rb:15:in `each'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/hash_conversions.rb:15:in `map'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/hash_conversions.rb:15:in `to_params'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:22:in `block (2 levels) in <class:Request>'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:16:in `map'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:16:in `block in <class:Request>'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:159:in `call'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:159:in `normalize_query'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:192:in `query_string'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:49:in `uri'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:170:in `setup_raw_request'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty/request.rb:73:in `perform'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty.rb:400:in `perform_request'
# /Users/maletor/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.8.3/lib/httparty.rb:363:in `post'
# ./lib/sfax/api.rb:173:in `outbound_fax_create'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment