mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
887e67c80e12308467526d731e74fafef9f07ac9
See ticket #1428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1408 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%