From 514e6704f3ce2f588688313a1c757d3ac035eeb9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 13 Sep 2005 10:22:57 +0000 Subject: Make it easy to go UTC git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/environment.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index 716659decd..f8b95505cf 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -26,6 +26,9 @@ Rails::Initializer.run do |config| # (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 -- cgit v1.2.3