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 ?

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 ?

Ruby on Rails 3.0 Release Notes — Ruby on Rails Guides

Best regards

Peter De Berdt