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