need to require date otherwise it throws error 'today' is undefined method for 'Date' class