Error in Rails 3 Release notes

Hello,

There is : “filter_parameter_logging is deprecated in favour of
config.filter_parameters << :password.” but this don’t work : and
“config.filter_parameters << :password” work, so there is an error ?

http://edgeguides.rubyonrails.org/3_0_release_notes.html#action-controller

Thanks.

I hope the fact that you see config. did ring a bell that
the setting has been moved to environment.rb and doesn’t belong into a
controller anymore.

On 10 Aug 2010, at 20:13, Dorian wrote:

There is : “filter_parameter_logging is deprecated in favour of
config.filter_parameters << :password.” but this don’t work : and
“config.filter_parameters << :password” work, so there is an error ?

http://edgeguides.rubyonrails.org/3_0_release_notes.html#action-controller

Best regards

Peter De Berdt

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs