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 [cccb0e6b9327fb562b72007a012933c9c61a33fa] by Elliot Winkler

Revision cccb0e6b9327fb562b72007a012933c9c61a33fa, committed 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...

3 changed files

  • M activemodel/CHANGELOG
  • M activemodel/lib/active_model/validations/format.rb
  • M activemodel/test/cases/validations/format_validation_test.rb