Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This is not an executable file | Santiago Pastorino | 2010-12-16 | 1 | -0/+0 |
| | |||||
* | Add support for namespaced validators | Samuel Kadolph | 2010-12-16 | 1 | -0/+6 |
| | | | | | | Includes test and documentation for new feature Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add validates method as shortcut to setup validators for a given set of ↵ | jamie | 2010-01-07 | 1 | -0/+6 |
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> |