Guest User

Untitled

a guest
Mar 5th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1. NoMethodError in Admin/generalController#update_database
  2.  
  3. You have a nil object when you didn't expect it!
  4. You might have expected an instance of Array.
  5. The error occurred while evaluating nil.collect
  6.  
  7. RAILS_ROOT: ../config/..
  8. Application Trace | Framework Trace | Full Trace
  9.  
  10. /home/specinti/typo41/app/controllers/admin/general_controller.rb:18:in `update_database'
  11.  
  12. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1097:in `perform_action_without_filters'
  13. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:723:in `call_filters'
  14. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:680:in `perform_action_without_benchmark'
  15. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  16. /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  17. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  18. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
  19. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:431:in `process_without_filters'
  20. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
  21. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
  22. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
  23. #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
  24. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'
  25. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'
  26. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'
  27. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'
  28. /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
  29. /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
  30. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_each_request!'
  31. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:55:in `process!'
  32. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:25:in `process!'
  33. dispatch.fcgi:24
  34.  
  35. /home/specinti/typo41/app/controllers/admin/general_controller.rb:18:in `update_database'
  36. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1097:in `perform_action_without_filters'
  37. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:723:in `call_filters'
  38. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:680:in `perform_action_without_benchmark'
  39. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  40. /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  41. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
  42. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
  43. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:431:in `process_without_filters'
  44. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
  45. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
  46. #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
  47. #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
  48. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'
  49. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'
  50. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'
  51. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'
  52. /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
  53. /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
  54. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_each_request!'
  55. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:55:in `process!'
  56. #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:25:in `process!'
  57. dispatch.fcgi:24
  58.  
  59. Request
  60.  
  61. Parameters: None
  62.  
  63. Show session dump
  64.  
  65. ---
  66. :user: !ruby/object:User
  67. articles:
  68. attributes:
  69. notify_via_jabber:
  70. name: Matt
  71. notify_watch_my_articles:
  72. notify_via_email:
  73. id: "1"
  74. jabber:
  75. notify_on_comments:
  76. password: 4659c6dbac133e6a77425bfb6b9db3b57ad6390d
  77. login: mattbisme
  78. notify_on_new_articles:
  79. email: mattsubs@gmail.com
  80. notifications:
  81. notify_contents:
  82. flash: !map:ActionController::Flash::FlashHash {}
  83.  
  84.  
  85. Response
  86. Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
Add Comment
Please, Sign In to add comment