Define a method like this:
def filter_parameters(params)
params.dup.delete_if { |k, v| k == ''profile'' }
end
On 7/16/06, Robert MannI <robmnl@gmail.com> wrote:> 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
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
--
Rick Olson
http://techno-weenie.net