This project is archived and is in readonly mode.
Changeset [d60d7edce462f4602bfc9996689087a235b034c9] by Sam Goldstein
July 9th, 2009 @ 05:44 AM
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] http://github.com/rails/rails/co...
Committed by Sam Goldstein
- M activerecord/lib/active_record/attribute_methods.rb
- M activerecord/test/cases/attribute_methods_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>