Last active
December 23, 2015 21:49
-
-
Save seanarnold/6698768 to your computer and use it in GitHub Desktop.
Rails Date.today problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading development environment (Rails 4.0.0) | |
2.0.0-p247 :001 > Date.today | |
=> Thu, 26 Sep 2013 | |
2.0.0-p247 :002 > Date.tomorrow | |
=> Thu, 26 Sep 2013 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a known 'issue' and is discussed in the Ruby on Rails guides here:
http://guides.rubyonrails.org/active_support_core_extensions.html