mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
3022ee84ccb4d006f4b27e34b7fcf700aad660c8
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Fixed use of an integer as return code for renders, so render_text "hello world", 404 now works #1327
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%