Files
rails/activemodel/lib/active_model
Jon Leighton a15424b92c Make serializable_hash take attr values directly from attributes hash.
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
51bef9d8fb, because that change made
to_xml use serializable_hash.
2011-09-26 12:40:03 +01:00
..
2011-09-23 00:19:46 +02:00
2011-08-25 16:43:43 +03:00
2009-12-31 13:12:52 -08:00
2010-01-04 16:22:46 -06:00
2011-06-30 10:18:36 -03:00