Ruby on Rails : Date.today differs from Date.current

Date.current also returns Date.today if timeZone is not set other wise returns Today's DateĀ of current time zone. We can verify this by changing the timezone.
Continue reading

Advertisements