aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/serializer.rb
diff options
context:
space:
mode:
authorSam Goldstein <sgrock@gmail.com>2009-07-08 11:45:26 -0700
committerMichael Koziarski <michael@koziarski.com>2009-07-09 16:44:30 +1200
commitd60d7edce462f4602bfc9996689087a235b034c9 (patch)
treeb56c9b8d07a87959fb8fbd746450537e46690ffb /activemodel/lib/active_model/serializer.rb
parent579250ea467ac406a5897dc2187c7959bf343b4f (diff)
downloadrails-d60d7edce462f4602bfc9996689087a235b034c9.tar.gz
rails-d60d7edce462f4602bfc9996689087a235b034c9.tar.bz2
rails-d60d7edce462f4602bfc9996689087a235b034c9.zip
Make it so AR attributes which conflict with object-private methods (e.g. system) don't 'randomly' cause NoMethodErrors
Previously if you called this attribute before others, you'd get exceptions. But if it was the second-or-subsequent attribute you retrieved you'd get the correct behaviour. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2808 state:committed]
Diffstat (limited to 'activemodel/lib/active_model/serializer.rb')
0 files changed, 0 insertions, 0 deletions