Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make it easy to go UTC

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 514e6704f3ce2f588688313a1c757d3ac035eeb9 1 parent 4307d7e
David Heinemeier Hansson dhh authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  railties/environments/environment.rb
3  railties/environments/environment.rb
View
@@ -26,6 +26,9 @@
# (remember to create the caching directory and make it readable to the application)
# config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"
+ # Make Active Record use UTC-base instead of local time
+ # config.active_record.default_timezone = :utc
+
# See Rails::Configuration for more options
end
Please sign in to comment.
Something went wrong with that request. Please try again.