def include?(value)
      if first.is_a?(TimeWithZone)
        cover?(value)
      elsif last.is_a?(TimeWithZone)
        cover?(value)
      else
        super
      end
    end
def include?(value)
      if first.is_a?(TimeWithZone)
        cover?(value)
      elsif last.is_a?(TimeWithZone)
        cover?(value)
      else
        super
      end
    end
:nodoc:
 Extends the default Range#include? to support ActiveSupport::TimeWithZone.

   (1.hour.ago..1.hour.from_now).include?(Time.current) # => true