diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-22 23:25:45 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-22 23:25:45 +0000 |
commit | d834b65b540665db81cca51fdc828d0c91e314a6 (patch) | |
tree | 2088904083b4ee6297947a911d5ef61349f65778 /actionpack/lib/action_controller/support/misc.rb | |
parent | 2ec81dcd28ece609bf837b7869696bba0af5507b (diff) | |
download | rails-d834b65b540665db81cca51fdc828d0c91e314a6.tar.gz rails-d834b65b540665db81cca51fdc828d0c91e314a6.tar.bz2 rails-d834b65b540665db81cca51fdc828d0c91e314a6.zip |
Added allow_nil options to validates_inclusion_of so that validation is only triggered if the attribute is not nil [what-a-day]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/support/misc.rb')
0 files changed, 0 insertions, 0 deletions