Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: richdub
Please ignore the above question I can't seem to find an edit button. The issue was from another gem.
I'm throwing an error trying to recreate this example. Instead of products, I am using forms. Any help or explanation would be very helpful, because this is over my head, but i'd like to learn what is going on here.
NoMethodError in Forms#new
Showing /Users/Admin/Documents/development/form_builder/app/views/forms/fields/_text_field.html.erb where line #3 raised:
undefined method `human_attribute_name' for OpenStruct:Class
Extracted source (around line #3):
2: <%= f.label field.name %>
3: <%= f.text_field field.name %>
Trace of template inclusion: app/views/forms/_form.html.erb, app/views/forms/new.html.erb