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 [c30a0ce3c8f88baebd369180a6e221706e2b5cbf] by Paul Gillard

Revision c30a0ce3c8f88baebd369180a6e221706e2b5cbf, committed by Paul Gillard · August 4th, 2009 @ 10:19 PM

Modified ActiveRecord::AttributeMethods to allow classes to specify attribute method prefixes and/or suffixes. Previously only suffixes were allowed.

Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

5 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
  • M activerecord/lib/active_record/attribute_methods/write.rb
  • M activerecord/test/cases/attribute_methods_test.rb