diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-18 17:27:26 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-18 17:27:26 +0000 |
commit | 5dcbe933dfd34bb799ee370792b6066f6d6ceaac (patch) | |
tree | 391ad1877e5491bcdbe67aa6673957e7085941ac /actionpack/examples | |
parent | 28edbca47728c8fe045a2b47bae925c09c6d5113 (diff) | |
download | rails-5dcbe933dfd34bb799ee370792b6066f6d6ceaac.tar.gz rails-5dcbe933dfd34bb799ee370792b6066f6d6ceaac.tar.bz2 rails-5dcbe933dfd34bb799ee370792b6066f6d6ceaac.zip |
Added validates_each that validates each specified attribute against 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
Diffstat (limited to 'actionpack/examples')
0 files changed, 0 insertions, 0 deletions