Skip to content

Instantly share code, notes, and snippets.

@jamesgecko
Created May 6, 2011 21:43
Show Gist options
  • Select an option

  • Save jamesgecko/959846 to your computer and use it in GitHub Desktop.

Select an option

Save jamesgecko/959846 to your computer and use it in GitHub Desktop.
NoMethodError in Support_calls#new
Showing c:/Users/james/code/support/app/views/support_calls/_form.html.erb where line #28 raised:
undefined method `resolved' for #<SupportCall:0x1254fcd>
Extracted source (around line #28):
25: </div>
26: <div class="checkbox">
27: <%= f.label :resolved %><br />
28: <%= f.check_box :resolved %>
29: </div>
30:
31: <div class="actions">
Trace of template inclusion: app/views/support_calls/new.html.erb
Rails.root: c:/Users/james/code/support
Application Trace | Framework Trace | Full Trace
app/views/support_calls/_form.html.erb:28:in `_app_views_support_calls__form_html_erb___728459488_4296_3472'
app/views/support_calls/_form.html.erb:1:in `_app_views_support_calls__form_html_erb___728459488_4296_3472'
app/views/support_calls/new.html.erb:3:in `_app_views_support_calls_new_html_erb___447224542_4294_0'
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment