Skip to content

Commit

Permalink
Added validates_each that validates each specified attribute against …
Browse files Browse the repository at this point in the history
…a block #610 [bitsweat]. Added :allow_nil as an explicit option for validates_length_of, so unless that's set to true having the attribute as nil will also return an error if a range is specified as :within #610 [bitsweat]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Feb 18, 2005
1 parent 28edbca commit 5dcbe93
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 220 deletions.

0 comments on commit 5dcbe93

Please sign in to comment.