MultiparameterAssignmentErrors

The attached file show the error I’m getting.

I have a time time in my migration and a time_select:

<%= f.fields_for :company_layout do |company_layout_form| %>

<%= company_layout_form.label 'Horário de abertura' %>

<%= time_select('company[company_layout_attributes]', :opening_hours, :ignore_date => true, :minute_step => 15, :prompt => true) %>

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

MultiparameterAssignmentErrors.txt (41.2 KB)