Displaying 2 results from an estimated 2 matches for "opening_hour".
Did you mean:
opening_hours
2012 Aug 17
3
Rails doesn't validate create_model or build_model (has_one association)
...ot;=>"", "postal_code"=>"", "country_code"=>"", "phone"=>"",
"email"=>"", "website"=>"", "facebook"=>"", "twitter"=>"",
"opening_hours"=>"", "description"=>"", "latitude"=>"", "longitude"=>"",
"currency"=>"AED"}, "commit"=>"Add shop"}
User Load (0.4ms) SELECT "users".* FROM "users&qu...
2011 Jul 14
0
MultiparameterAssignmentErrors
...I have a time time in my migration and a time_select:
<%= f.fields_for :company_layout do |company_layout_form| %>
<p>
<%= company_layout_form.label ''HorĂ¡rio de abertura'' %>
<%= time_select(''company[company_layout_attributes]'', :opening_hours,
:ignore_date => true, :minute_step => 15, :prompt => true) %>
</p>
BTW, this is a nested form.
If I go to the edit url for company_layout it works and I get no error, but
If I''m creating it the MultiparameterAssignmentErrors occurs.
Any ideas?
Thank you,
Rodrigo...