Skip to content

Instantly share code, notes, and snippets.

Created October 18, 2012 08:13
Show Gist options
  • Save anonymous/b6ebeba5f0d5b5bc56f6 to your computer and use it in GitHub Desktop.
Save anonymous/b6ebeba5f0d5b5bc56f6 to your computer and use it in GitHub Desktop.
error message
generate_list.rb:45:in `block in <main>': undefined method `+@' for nil:Ni
lClass (NoMethodError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_r
ecord/relation/batches.rb:21:in `block (2 levels) in find_each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_r
ecord/relation/batches.rb:21:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_r
ecord/relation/batches.rb:21:in `block in find_each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_r
ecord/relation/batches.rb:72:in `find_in_batches'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_r
ecord/relation/batches.rb:20:in `find_each'
from generate_email_list.rb:29:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment