Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [e01dfb27fc5573db9070dce788f2e5ee62094722] by Jon Leighton

Revision e01dfb27fc5573db9070dce788f2e5ee62094722, committed by Jon Leighton · April 15th, 2011 @ 01:09 PM

Undo performances regressions I introduced in bbe0a507f287c20ab4ae8a244fbfc810665deda5 and add test for an edge case. Add comments to explain the intent of the code.
https://github.com/rails/rails/commit/e01dfb27fc5573db9070dce788f2e...

2 changed files

  • M activerecord/lib/active_record/attribute_methods/read.rb
  • M activerecord/test/cases/attribute_methods_test.rb