mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
![]() Previously, it would use send() to get the attribute. In Active
Resource, this would rely on hitting method missing. If a method with
the same name was defined further up the ancestor chain, that method
would wrongly be called.
This change fixes test_to_xml_with_private_method_name_as_attribute in
activeresource/test/cases/base_test.rb, which was broken after
|
||
---|---|---|
.. | ||
locale | ||
mass_assignment_security | ||
serializers | ||
validations | ||
attribute_methods.rb | ||
callbacks.rb | ||
conversion.rb | ||
dirty.rb | ||
errors.rb | ||
lint.rb | ||
mass_assignment_security.rb | ||
naming.rb | ||
observer_array.rb | ||
observing.rb | ||
railtie.rb | ||
secure_password.rb | ||
serialization.rb | ||
test_case.rb | ||
translation.rb | ||
validations.rb | ||
validator.rb | ||
version.rb |