rails/rails — pull request #4035 by lest (2011-12-19 20:42:34+00:00)
Title: handle not only strings in date type cast

Original issue #3865

/cc @tenderlove