Exception: FeedbacksController#create (NoMethodError) "undefined method `[]' for nil:NilClass"
Reported by jraigneau | June 24th, 2010 @ 07:05 AM
disk1/home/slugs/155962_38dcb66_c20d/mnt/app/models/feedback.rb:5:in
initialize'<br/>
/disk1/home/slugs/155962_38dcb66_c20d/mnt/app/controllers/feedbacks_controller.rb:5:in
new'
/disk1/home/slugs/155962_38dcb66_c20d/mnt/app/controllers/feedbacks_controller.rb:5:in
create'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in
send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in
perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
call_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:10:in
realtime'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
perform_action_without_flash'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
perform_action_without_newrelic_trace'
/disk1/home/slugs/155962_38dcb66_c20d/mnt/vendor/plugins/rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:253:in
perform_action'
/disk1/home/slugs/155962_38dcb66_c20d/mnt/vendor/plugins/rpm/lib/new_relic/agent/method_tracer.rb:141:in
trace_execution_scoped'
/disk1/home/slugs/155962_38dcb66_c20d/mnt/vendor/plugins/rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:246:in
perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
send'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
process_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
process'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
dispatch'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in
_call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
build_middleware_stack'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
call'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
call'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
cache'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
cache'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
call'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in
call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:106:in
call'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/cgi_process.rb:44:in
dispatch_cgi'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:101:in
dispatch_cgi'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:27:in
dispatch'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/rails.rb:60:in
serve_rails'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/rails.rb:80:in
call' /home/heroku_rack/lib/static_assets.rb:9:in
call'
/home/heroku_rack/lib/last_access.rb:25:in call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
call'
/home/heroku_rack/lib/date_header.rb:14:in call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:60:in
call'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/connection.rb:80:in
pre_process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/connection.rb:78:in
catch'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/connection.rb:78:in
pre_process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/connection.rb:57:in
process'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/connection.rb:42:in
receive_data'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.6/lib/eventmachine.rb:240:in
run_machine'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.6/lib/eventmachine.rb:240:in
run'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/backends/base.rb:57:in
start'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/server.rb:150:in
start'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/controllers/controller.rb:80:in
start'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/runner.rb:173:in
send'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/runner.rb:173:in
run_command'
/usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/thin/runner.rb:139:in
run!' /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/bin/thin:6
/usr/local/bin/thin:20:in
load' /usr/local/bin/thin:20
Occurrences
Free accounts only store 1 occurrence per exception. Please upgrade to Exceptional Premium via the Heroku Console
undefined method []' for nil:NilClass
Time
24 Jun at 01:21AM
URL
get http://vauban.heroku.com/feedbacks
Params
{"action" : "create", "controller" : "feedbacks"} Params
Yandex/1.01.001 (compatible; Win16; I)
Comments and changes to this ticket
-
jraigneau June 24th, 2010 @ 07:07 AM
- State changed from new to resolved
(from [a744c60ab682d7e6de7769359d9406200967da85]) Corrected routing issues with feedbacks [#5 state:resolved] Added fadeout effects for flash messages
http://github.com/jraigneau/vauban/commit/a744c60ab682d7e6de7769359...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Vauban is a simple webapplication to manage your web identities, i.e. all your accounts for all your web applications (gmail, facebook, linkedin, banking services…)
People watching this ticket
Tags
Referenced by
- 5 Exception: FeedbacksController#create (NoMethodError) "undefined method `[]' for nil:NilClass" (from [a744c60ab682d7e6de7769359d9406200967da85]) Correct...