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 [86acbf1cc050c8fa8c74a10c735e467fb6fd7df8] by Jeremy Kemper

Revision 86acbf1cc050c8fa8c74a10c735e467fb6fd7df8, committed by Jeremy Kemper · March 28th, 2011 @ 05:20 PM

Cheaper attribute reads and respond_to?. Add underscore-prefixed method aliased to the attribute name so it can be overridden but still called internally.
https://github.com/rails/rails/commit/86acbf1cc050c8fa8c74a10c735e4...

3 changed files

  • M activerecord/lib/active_record/attribute_methods.rb
  • M activerecord/lib/active_record/attribute_methods/read.rb
  • M activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb