Exception: FeedbacksController#create (NoMethodError) "undefined method `[]' for nil:NilClass"
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:innew'
/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:insend'
/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:incall_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:inperform_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:inrealtime'
/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:inperform_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:inperform_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:intrace_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:insend'
/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:inprocess'
/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:incall'
/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:indispatch'
/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:inbuild_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:incall'
/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:incache'
/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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:insynchronize'
/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:incall'
/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:indispatch_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:inserve_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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:incatch'
/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:inprocess'
/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:inrun_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:instart'
/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:instart'
/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:inrun_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:inload' /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)
Reported by jraigneau · June 24th, 2010 @ 07:05 AM
-
jraigneau
- State changed from new to resolved
(from [a744c60ab682d7e6de7769359d9406200967da85]) Corrected routing issues with feedbacks [#5 Exception: FeedbacksController#create (NoMethodError) "undefined method `[]' ... 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.