require 'mongoid/time_range' ::TimeRange = Mongoid::TimeRange