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
Permit should behave the same when called on a parent hash as it does when called on a child hash.
Actual behavior
Permit's behavior is inconsistent, and it's very difficult and confusing to permit a nested hash with integer-like keys. More generally, when dealing with JSON parameters, the implicit "array-like" handling behavior should be limited to real, actual arrays—not just objects with keys that look like numbers.