This project is archived and is in readonly mode.

Changeset [ef88c0c2bb1c119c27f2d0e9e11a6704c560a7c1] 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...

Committed by Jon Leighton

  • M activerecord/lib/active_record/attribute_methods/read.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>