See issue below where today is greater than tomorrow
(main)> today = Date.today
=> Sat, 04 Jan 2014
(main)> tomorrow = Date.today + 1.day
=> Sun, 05 Jan 2014
(main)> today > tomorrow
=> true
(main)> today.to_time.to_i > tomorrow.to_time.to_i
=> true
I am using the following version - motion-support (0.2.6)
Gemfile:
gem "motion-support", require: false
Rakefile:
require "motion-support/core_ext/time"