Closed ulugbekov closed 12 years ago
Can you post an example of what you're doing that isn't working? The database schema, model, and controller are the important parts.
I was able to do it.
params[:company][:company_hours_attributes].each do |p,v|
v.parse_time_select! :open_time
v.parse_time_select! :close_time
end
ActiveRecord::MultiparameterAssignmentErrors 2 error(s) on assignment of multiparameter attributes
How to make it work for polymorphic