mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
fa7f4a066466f8587ddd11b96dcbbe5008ab63a9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1409 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%