Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add validates method as shortcut to setup validators for a given set of ↵ | jamie | 2010-01-07 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | attributes: class Person < ActiveRecord::Base include MyValidators validates :name, :presence => true, :uniqueness => true, :length => { :maximum => 100 } validates :email, :presence => true, :email => true end [#3058 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move validations in ActiveModel to validators, however all validatity checks ↵ | José Valim | 2009-12-23 | 1 | -13/+15 |
| | | | | are still in the class method. | ||||
* | Move :with/:without check outside the method generated by validates_format_of | Pratik Naik | 2009-08-10 | 1 | -6/+6 |
| | |||||
* | Add validates_format_of :without => /regexp/ option [Elliot Winkler, Peer Allan] | Elliot Winkler | 2009-08-10 | 1 | -8/+29 |
| | | | | | | | | | | [#430 state:resolved] Example : validates_format_of :subdomain, :without => /www|admin|mail/ Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Properly require ActiveModel validation dependencies | Joshua Peek | 2009-06-08 | 1 | -2/+2 |
| | |||||
* | Validation options dont need explicit :on => :save | Pratik Naik | 2009-03-21 | 1 | -1/+1 |
| | |||||
* | Move all the Active Record validations to Active Model | Pratik Naik | 2009-03-19 | 1 | -7/+9 |
| | |||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -10/+10 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Splitting them up first | David Heinemeier Hansson | 2008-04-01 | 1 | -0/+39 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |