Skip to content

Instantly share code, notes, and snippets.

@davidray
Created June 14, 2010 19:33
Show Gist options
  • Save davidray/438170 to your computer and use it in GitHub Desktop.
Save davidray/438170 to your computer and use it in GitHub Desktop.
[2010-06-14 19:29:04] [INFO ] Rendering morbidity_events/edit
[2010-06-14 19:29:05] [FATAL]
ActionView::TemplateError (can't convert nil into String) on line #54 of app/views/people/_address_form.html.haml:
51: =a.label(:county)
52: %span.data_county
53: =a.dropdown_code_field(:county_id, 'county', {:include_blank => true}, {}, event)
54: -core_element :postal_code, a, :horiz do
55: =a.label(:postal_code)
56: %span.data_postal_code
57: =a.core_text_field(:postal_code, {:size => 7, :maxlength=> 10}, event)
app/helpers/extended_form_builder.rb:127:in `dynamic_question'
app/helpers/extended_form_builder.rb:124:in `each'
app/helpers/extended_form_builder.rb:124:in `dynamic_question'
app/helpers/events_helper.rb:876:in `render_investigator_question'
app/helpers/events_helper.rb:875:in `render_investigator_question'
app/helpers/events_helper.rb:724:in `render_investigator_element'
app/helpers/events_helper.rb:80:in `render_investigator_view'
app/helpers/events_helper.rb:79:in `each'
app/helpers/events_helper.rb:79:in `render_investigator_view'
app/helpers/events_helper.rb:703:in `concat_core_field'
app/helpers/events_helper.rb:698:in `each'
app/helpers/events_helper.rb:698:in `concat_core_field'
gems/gems/mislav-will_paginate-2.3.6/lib/will_paginate/finder.rb:167:in `method_missing_with_paginate'
app/helpers/events_helper.rb:696:in `concat_core_field'
app/helpers/events_helper.rb:45:in `core_element'
app/views/people/_address_form.html.haml:54:in `_run_haml_app47views47people47_address_form46html46haml_locals_address_form_ev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment