DivineRails

Ruby on Rails

Blog

Filtering Parameters

Posted by Jamal Nasir on March 1, 2012 at 6:05 AM

If you have some sensitive data in parameters and you want to hide it from the request log. Then one of the way is to use filter_parameter_logging in a controller where these parameters are expected.

Example:

filter_parameter_logging param1, param2

Read in detail.

Categories: None

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

Already a member? Sign In

1 Comment

Reply Rq Bukhari
1:33 AM on March 7, 2012 
Thanks Jamal Nasir..

This post is very useful as always.. Keep sharing..