On Apr 25, 3:53 pm, Olivier Lance <li...@ruby-forum.com> wrote: > That's obviously not what I want. I thought I could add > @captcha.fields[:password] as a parameter, but filter_parameter_logging > is a Class method so @captcha is nil when it's called. > > I'm out of idea for this, would anyone have a solution or some tips > about this ?
If you give filter_parameter_logging a block it will yield parameter names/values to that block and you can make the decision to filter on a case by case basis. Is that enough for you ? Fred > -- > Posted viahttp://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.