Attribute filtering in Rails 2.1

Hello,
I was unable to find the commit related to removing attribute
filtering in Rails 2.1. I'm interested in the reasoning as to why
this was removed. Can anyone provide any insight?
Thanks,
   Jonathan

Jonathan Wallace wrote:

Hello,
I was unable to find the commit related to removing attribute
filtering in Rails 2.1. I'm interested in the reasoning as to why
this was removed. Can anyone provide any insight?
Thanks,
   Jonathan

hey there Jonathan,
what do you mean by :attribute_filtering?

All I can think of is the log_param filtering.
http://api.rubyonrails.org/classes/ActionController/Base.html#M000837

but that still seems to work.

"filter_parameter_logging :password"

Hello,
I was unable to find the commit related to removing attribute
filtering in Rails 2.1. I'm interested in the reasoning as to why
this was removed. Can anyone provide any insight?

Do you mean the ability to do some_ar_object.attributes :except =>
'blah' ?
If so, it's because ActiveSupport adds except/slice to hash so having
it separately in #attributes was just duplication (and has done for a
while)

so instead of the :except option you can do
some_ar_object.attributes.except 'blah'

Fred