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
array inputs can only have one input nested underneath them. This is because every element of the array must be the same type. And the inputs nested inside arrays cannot have names because they would never be used.
I've tried that in the beginning, but looks like forgot something in integration with accepts_nested_attributes_for. Now it perfectly works. Thanks again!
I have a form with translations, which I'm generating with following code:
In the result I'm receiving following parameters:
Is it possible to filter such attributes with active_interaction?
I know it's possible with:
But it's not strict enough, so I have to use strong_parameters, which I would like to reject at all in project.
Looks like logically this code should work:
But it's not, as it's returns:
attribute names in array block
.Should I make a PR with support of hash block in array, or it's possible to solve that somehow in other way around?
The text was updated successfully, but these errors were encountered: