aboutsummaryrefslogtreecommitdiffstats
path: root/pushgems.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-05-21 18:12:36 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-05-21 18:12:36 +0000
commita1e9ceebd59e9ac6b932f7ed5d35fe44eee6b93f (patch)
treef907e976a5d0093bea013a98422dee2efd97e4d8 /pushgems.rb
parent7159402c6d0edab20ff84a686bcd03894b4e9c4c (diff)
downloadrails-a1e9ceebd59e9ac6b932f7ed5d35fe44eee6b93f.tar.gz
rails-a1e9ceebd59e9ac6b932f7ed5d35fe44eee6b93f.tar.bz2
rails-a1e9ceebd59e9ac6b932f7ed5d35fe44eee6b93f.zip
Added Errors#add_on_blank which works like Errors#add_on_empty, but uses Object#blank? instead. CHANGED: validates_presence_of now uses Errors#add_on_blank, which will make " " fail the validation where it didnt before #1309. Added that " " is now also blank? (using strip if available)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'pushgems.rb')
0 files changed, 0 insertions, 0 deletions