-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
The feedback modal renders correctly if I manually make do: input type="text" name="email" /> but <%= f.text_field 'email' %> raises the error below. Is this a Rails 4 limitation? I think I found the documentation for the FormBuilder.text_field method, but maybe I'm not reading it right and something needs to change...
ActionView::Template::Error (undefined method '[]' for nil:NilClass):
17: <%= f.label 'email' %>
18: <%= f.text_field 'email' %>
19: <!--<input type="text" name="email" />-->
app/views/feedbacks/new.html.erb:18:in 'block in _app_views_feedbacks_new_html_erb___3943314167409289596_2190560080'
app/views/feedbacks/new.html.erb:5:in `_app_views_feedbacks_new_html_erb___3943314167409289596_2190560080'
Metadata
Metadata
Assignees
Labels
No labels