I need to enable a parameter in Rails 4 that has a period in the name:
My params hash is as follows:
{ "dictionary_objects.id" => [ "102", "110", "106" ] }
I can get the parameter value:
>> params['dictionary_objects.id'] => [ [0] "102", [1] "110", [2] "106" ]
But when I try to resolve it, it returns an empty hash:
>> params.permit('dictionary_objects.id') Unpermitted parameters: dictionary_objects.id => {}
Does anyone know how I can resolve params with a dot in the name?
Thanks.
roody source share