Created
November 30, 2015 20:03
-
-
Save bad6e/b9d6bd099295b86c0605 to your computer and use it in GitHub Desktop.
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
#Time in Rails | |
*Setup | |
-- Start by talking about my recent PlaneBlame Project and how I used Time.now - show methods via slides | |
-- Time.now.hour/ Time.now.day /Time.now.year | |
-- Talk about Rails time helpers I used (1.hour 1.year etc) | |
-- Talk about other Rails Time Helpers (demonstrate a few - http://api.rubyonrails.org/classes/Time.html) | |
* Talk about UTC Time | |
-- Time.now & Time.current - pitfalls of Time.now | |
-- Postrgres and Heroku | |
*Takeaway | |
-- Time is hard | |
-- USE UTC and not Time.now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment