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