This project is archived and is in readonly mode.

Changeset [22f339825329e2d4463a4130e9fa68baf9d27eb6] by Jeff Dean

August 10th, 2009 @ 06:47 AM

Introduce validates_with to encapsulate attribute validations in a class.

[#2630 state:committed]

Signed-off-by: Jeremy Kemper

Committed by Jeff Dean

  • A activemodel/CHANGELOG
  • A activemodel/lib/active_model/validations/with.rb
  • A activemodel/test/cases/validations/with_validation_test.rb
  • A activerecord/lib/active_record/validator.rb
  • M activerecord/lib/active_record.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=""></a>