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.