heroku/databasedotcom — pull request #25 by zoomzoom83 (2011-10-31 02:38:52+00:00)
Title: Fixed issue with date library not importing correctly

In Ruby 1.9, DateTime fields are all set to Nil - This is because the Date.parse method is not available unless the 'date' library is imported.

Note that this was rather hard to track down originally because the line

value_to_set = DateTime.parse(value) rescue nil

Was throwing an exception due to the 'parse' method not being found - however this was being silently quashed by 'rescue nil' - this issue could potentially be occurring in other places but might be difficult to find.