Wow I broke the migration. Oops.

This commit is contained in:
Eric Allen 2008-10-08 23:47:59 -04:00
parent 51b0a2bd9b
commit b36ed96813

View file

@ -28,6 +28,7 @@ class ChangeDatesToDatetimes < ActiveRecord::Migration
end end
end end
end end
end
def at_midnight(date) def at_midnight(date)
return Time.zone.local(date.year, date.month, date.day, 0, 0, 0) return Time.zone.local(date.year, date.month, date.day, 0, 0, 0)