Recently i've been working on a javascript frontend/ rails backend project.
In one view their are several models that are posting to a users controller. The user is accepting nested attributes for these 3 other models.
When the params get there, they arrive as things like educations[], trainings[], courses[]. In order to get them to be accepted we put them through a transform that took each one and appended _attributes to the key. So educations => educations_attributes.
It would be nice if strong parameters had a method. Something like permit_nested that would do this translation if it didn't exist.
I am happy to do the work and pr but wanted to get feed back first.