This project is archived and is in readonly mode.
Changeset [ef88c0c2bb1c119c27f2d0e9e11a6704c560a7c1] by Jon Leighton
Revision ef88c0c2bb1c119c27f2d0e9e11a6704c560a7c1,
committed by Jon Leighton
· April 15th, 2011 @ 03:06 PM
Undo performances regressions I introduced in
36691ac9fc932cc11c59c42c7f388399f1e51f54 and add test for an edge
case. Add comments to explain the intent of the code. Also fix the
code (which previously worked differently on 1.8 and 1.9 due to
Symbol#=~ being always false on 1.8)."
https://github.com/rails/rails/commit/ef88c0c2bb1c119c27f2d0e9e11a6...
2 changed files
-
M
activerecord/lib/active_record/attribute_methods/read.rb -
M
activerecord/test/cases/attribute_methods_test.rb