mirror of
https://github.com/github/rails.git
synced 2026-01-24 13:58:12 -05:00
cf1e2a84fff32ab1cf2a736bb99c53e830d92db3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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)
Description
No description provided
Languages
Ruby
97.9%
CSS
1.5%
HTML
0.5%