I'm using Rails as a proxy between a REST server and an AngularJS frontend.
The rest resources (POST/GET) are stored as class objects (no ActiveRecord because no local db).
I have an issue with nested attributes example {profile: [{"nested_1": "a descr"} , {"nested_2": "other desc"}]}
How do i tell the Rails controller to allow nested attributes for the object sent by Angular ?
I an Unpermitted Parameters error when the controller processes updates/creates actions
P.S. I'm not fluent in Rails and all answers to the unpermitted params / with nested attributes error relates to ActiveRecord which i don't rely on.
Thank you for your help.