saberma/19wu — pull request #429 by doitian (2013-07-18 07:36:13+00:00)
Title: [Rails4] Fix `datetime.to_s(:db)`

`to_s` on `nil` requires zero parameters. Use `try` to bypass calling
`to_s` on `nil`