# File lib/active_support/core_ext/date/calculations.rb, line 41 def today? self.to_date == ::Date.current # we need the to_date because of DateTime end