today?()
Tells whether the Time object’s time is today
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 66 def today? self.to_date == ::Date.current end