I don't think it's needed. Rails flattens the input: https://github.com/rails/rails/blob/fa0380cb4a7f08909e961a8e355c70ba3a676253/actionpack/lib/action_controller/metal/strong_parameters.rb#L261