Guest User

Untitled

a guest
Jun 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. NoMethodError: You have a nil object when you didn't expect it!
  2. You might have expected an instance of Array.
  3. The error occurred while evaluating nil.each
  4. from /usr/local/lib/ruby/gems/1.8/gems/ar_mailer-1.3.1/lib/action_mailer/ar_mailer.rb:91:in
  5. `perform_delivery_activerecord'
  6. from /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:508:in `
  7. __send__'
  8. from /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:508:in `
  9. deliver!'
  10. from /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `
  11. method_missing'
  12. from /var/apps/staging/app/models/user_observer.rb:3:in `after_create'
  13. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/observer.rb:171:
  14. in `send'
  15. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/observer.rb:171:
  16. in `update'
  17. from /usr/local/lib/ruby/1.8/observer.rb:185:in `notify_observers'
  18. from /usr/local/lib/ruby/1.8/observer.rb:184:in `each'
  19. from /usr/local/lib/ruby/1.8/observer.rb:184:in `notify_observers'
  20. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/callbacks.rb:309
  21. :in `notify'
  22. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/callbacks.rb:296
  23. :in `callback'
  24. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/callbacks.rb:221
  25. :in `create_without_timestamps'
  26. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/timestamp.rb:29:
  27. in `create'
  28. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/base.rb:2483:in
  29. `create_or_update_without_callbacks'
  30. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/callbacks.rb:207
  31. :in `create_or_update'
  32. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/base.rb:2211:in
  33. `save_without_validation'
  34. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/validations.rb:9
  35. 11:in `save_without_dirty'
  36. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/dirty.rb:75:in `
  37. save_without_transactions'
  38. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/transactions.rb:
  39. 106:in `save'
  40. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapt
  41. ers/abstract/database_statements.rb:66:in `transaction'
  42. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/transactions.rb:
  43. 79:in `transaction'
  44. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/transactions.rb:
  45. 98:in `transaction'
  46. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/transactions.rb:
  47. 106:in `save'
  48. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/transactions.rb:
  49. 118:in `rollback_active_record_state!'
  50. from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/transactions.rb:
  51. 106:in `save'
Add Comment
Please, Sign In to add comment