aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-13 10:22:57 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-13 10:22:57 +0000
commit514e6704f3ce2f588688313a1c757d3ac035eeb9 (patch)
tree6ccf23825f936f5124a38a0666db99d824c20cdf
parent4307d7ecbe897880a59ae2da717a893ccf0f3fde (diff)
downloadrails-514e6704f3ce2f588688313a1c757d3ac035eeb9.tar.gz
rails-514e6704f3ce2f588688313a1c757d3ac035eeb9.tar.bz2
rails-514e6704f3ce2f588688313a1c757d3ac035eeb9.zip
Make it easy to go UTC
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--railties/environments/environment.rb3
1 files changed, 3 insertions, 0 deletions
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