This project is archived and is in readonly mode.

Changeset [47a5fd4c4ba447c997c0a029adfa80d8b790b25a] by José Valim

January 7th, 2010 @ 06:23 PM

Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in validates.
http://github.com/rails/rails/commit/47a5fd4c4ba447c997c0a029adfa80...

Committed by José Valim

  • M activemodel/lib/active_model/validations.rb
  • M activemodel/lib/active_model/validations/validates.rb
  • M activemodel/test/cases/validations/validates_test.rb
  • M activemodel/test/models/person.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>