I need a config.filter_parameters (Rails 3.x.x) equivalent for Rails 2.3.x
module SampleApp
class Application < Rails::Application
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]
end
end
That works on Rails 3 but it need that functionality in Rails 2.3.x.