Don't log params

Hello!

I need to supress the logging of params for certain actions, i.e. I
don’t
want the params hash to show up in one of my actions.

Does anyone know how to do that?

Thanks,
Rob

Define a method like this:

def filter_parameters(params)
  params.dup.delete_if { |k, v| k == 'profile' }
end