This project is archived and is in readonly mode.

Changeset [912e5ff7903f6e44f3dcc7029b715a1670fc3040] by Jon Leighton

April 15th, 2011 @ 01:52 AM

Return nil from read_attribute if _foo is defined, but @attributes has no 'foo' key. Fixes breakage in test_find_only_some_columns on Ruby 1.9 which was introduced in a3639be4ed5e89b59c4ad0154d44f58e3e48d484.
https://github.com/rails/rails/commit/912e5ff7903f6e44f3dcc7029b715...

Committed by Jon Leighton

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