Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NoMethodError in Admin/generalController#update_database
- 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.collect
- RAILS_ROOT: ../config/..
- Application Trace | Framework Trace | Full Trace
- /home/specinti/typo41/app/controllers/admin/general_controller.rb:18:in `update_database'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1097:in `perform_action_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:723:in `call_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:680:in `perform_action_without_benchmark'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:431:in `process_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
- #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'
- /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
- /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_each_request!'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:55:in `process!'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:25:in `process!'
- dispatch.fcgi:24
- /home/specinti/typo41/app/controllers/admin/general_controller.rb:18:in `update_database'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1097:in `perform_action_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:723:in `call_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:680:in `perform_action_without_benchmark'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:431:in `process_without_filters'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
- #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
- #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'
- /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
- /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_each_request!'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:55:in `process!'
- #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:25:in `process!'
- dispatch.fcgi:24
- Request
- Parameters: None
- Show session dump
- ---
- :user: !ruby/object:User
- articles:
- attributes:
- notify_via_jabber:
- name: Matt
- notify_watch_my_articles:
- notify_via_email:
- id: "1"
- jabber:
- notify_on_comments:
- password: 4659c6dbac133e6a77425bfb6b9db3b57ad6390d
- login: mattbisme
- notify_on_new_articles:
- email: mattsubs@gmail.com
- notifications:
- notify_contents:
- flash: !map:ActionController::Flash::FlashHash {}
- Response
- Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
Add Comment
Please, Sign In to add comment