This project is archived and is in readonly mode.

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

Committed by Paul Gillard

  • 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

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>