rails/rails — pull request #5536 by masylum (2012-03-21 09:51:52+00:00)
Title: Sanity check for `String#to_date`

"".to_date returns nil but what if you do "fleiba".to_date? It crashes.