You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really useful to be able to use the rails date helpers via multi-parameters. At the moment it fails with the exception NoMethodError: undefined method due_on(1i)=' for #Task:0x007fc448009718`
It would be really useful to be able to use the rails date helpers via multi-parameters. At the moment it fails with the exception
NoMethodError: undefined method
due_on(1i)=' for #Task:0x007fc448009718`I put together an example to show exactly what I mean here:
proglottis/nested-form-examples@d5656b3
It has a kind of sprawling implementation in rails.
Strong params allows these through here: https://github.com/rails/rails/blob/3ecf26f48ae10b9d11b2db867fa57cf25ee99bed/actionpack/lib/action_controller/metal/strong_parameters.rb#L394
And the actual value object is created from params here: https://github.com/rails/rails/blob/3ecf26f48ae10b9d11b2db867fa57cf25ee99bed/activerecord/lib/active_record/attribute_assignment.rb#L108
The text was updated successfully, but these errors were encountered: