This project is archived and is in readonly mode.

Changeset [cccb0e6b9327fb562b72007a012933c9c61a33fa] by Elliot Winkler

August 10th, 2009 @ 03:22 PM

Add validates_format_of :without => /regexp/ option [Elliot Winkler, Peer Allan]

[#430 state:resolved]

Example :

validates_format_of :subdomain, :without => /www|admin|mail/

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

Committed by Elliot Winkler

  • M activemodel/CHANGELOG
  • M activemodel/lib/active_model/validations/format.rb
  • M activemodel/test/cases/validations/format_validation_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>