Created
August 2, 2011 16:00
-
-
Save matpowel/1120516 to your computer and use it in GitHub Desktop.
ctrl-C stacktrace when the dreaded Rails 3.1 method missing freeze happens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Company Load (0.2ms) SELECT "companies".* FROM "companies" WHERE "companies"."id" IS NULL LIMIT 1 | |
UserReportSection Load (0.5ms) SELECT "user_report_sections".* FROM "user_report_sections" WHERE "user_report_sections"."user_report_id" = 1 | |
Rendered user_reports/_user_report_section.html.erb (60200.0ms) | |
Rendered user_reports/_form.html.erb (60223.1ms) | |
Rendered user_reports/edit.html.erb within layouts/company (60224.0ms) | |
Completed 500 Internal Server Error in 60280ms | |
ActionView::Template::Error (undefined method `radio_box' for #<ActionView::Helpers::FormBuilder:0x107f4b0e8>): | |
25: <td> | |
26: <label>Report On</label><br /> | |
27: <% f.object.report_on ||= "product" %> | |
28: <%= f.radio_box( :report_on, "product" ) %> Chemical Usage<br /> | |
29: <%= f.radio_box( :report_on, "seed" ) %> Seed Usage<br /> | |
30: <br /> | |
31: <label>Statistics</label><br /> | |
app/views/user_reports/_user_report_section.html.erb:28:in `_app_views_user_reports__user_report_section_html_erb__1994846421_2214218460' | |
app/helpers/application_helper.rb:620:in `new_child_fields' | |
app/helpers/application_helper.rb:618:in `new_child_fields' | |
app/helpers/application_helper.rb:26:in `add_child_link' | |
app/views/user_reports/_form.html.erb:40:in `_app_views_user_reports__form_html_erb__978914503_2215910320' | |
app/views/user_reports/_form.html.erb:7:in `_app_views_user_reports__form_html_erb__978914503_2215910320' | |
app/views/user_reports/edit.html.erb:2:in `_app_views_user_reports_edit_html_erb___218946991_2216398260' | |
app/controllers/application_controller.rb:334:in `set_current_user_on_model' | |
Rendered /Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) | |
Rendered /Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) | |
Rendered /Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) | |
/Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/activesupport/lib/active_support/whiny_nil.rb:48:in `method_missing': undefined method `shutdown' for nil:NilClass (NoMethodError) | |
from /Users/matt/.rvm/gems/[email protected]/gems/rack-1.3.2/lib/rack/handler/webrick.rb:24:in `shutdown' | |
from /Users/matt/.rvm/gems/[email protected]/gems/rack-1.3.2/lib/rack/server.rb:259:in `start' | |
from /Users/matt/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/webrick/server.rb:113:in `call' | |
from /Users/matt/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/webrick/server.rb:113:in `join' | |
from /Users/matt/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/webrick/server.rb:113:in `start' | |
from /Users/matt/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/webrick/server.rb:113:in `each' | |
from /Users/matt/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/webrick/server.rb:113:in `start' | |
from /Users/matt/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/webrick/server.rb:23:in `start' | |
from /Users/matt/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/webrick/server.rb:82:in `start' | |
from /Users/matt/.rvm/gems/[email protected]/gems/rack-1.3.2/lib/rack/handler/webrick.rb:13:in `run' | |
from /Users/matt/.rvm/gems/[email protected]/gems/rack-1.3.2/lib/rack/server.rb:265:in `start' | |
from /Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/railties/lib/rails/commands/server.rb:70:in `start' | |
from /Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/railties/lib/rails/commands.rb:54 | |
from /Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/railties/lib/rails/commands.rb:49:in `tap' | |
from /Users/matt/.rvm/gems/[email protected]/bundler/gems/rails-7ee15e8a0f84/railties/lib/rails/commands.rb:49 | |
from script/rails:6:in `require' | |
from script/rails:6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment