aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations/validates.rb
Commit message (Expand)AuthorAgeFilesLines
* Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in val...José Valim2010-01-071-6/+18
* Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-071-0/+74