Created
March 21, 2012 13:39
-
-
Save andyt/2146950 to your computer and use it in GitHub Desktop.
Ha ha ha - just found this in some code one of our devs wrote.
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
DateTime.parse(ActiveRecord::Base.connection.execute("SELECT NOW();").fetch_row[0]).hour < 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment