aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/values
diff options
context:
space:
mode:
authorBenjamin Quorning <beq@crd.dk>2010-07-09 15:58:58 +0200
committerBenjamin Quorning <beq@crd.dk>2010-07-13 13:00:21 +0200
commit7e075e62479a0eccad6eaf7a7c20f45347860c83 (patch)
tree20db09dc8d8f74ef1fd1aa2e7077f28c584a4dcd /activesupport/lib/active_support/values
parent4209cb97e39c2742410f81d86e7f7c5ad310a251 (diff)
downloadrails-7e075e62479a0eccad6eaf7a7c20f45347860c83.tar.gz
rails-7e075e62479a0eccad6eaf7a7c20f45347860c83.tar.bz2
rails-7e075e62479a0eccad6eaf7a7c20f45347860c83.zip
Fixed many references to the old config/environment.rb and Rails::Initializer
Diffstat (limited to 'activesupport/lib/active_support/values')
-rw-r--r--activesupport/lib/active_support/values/time_zone.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index 49dd8a1b99..abd585b64f 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -8,10 +8,10 @@ require 'active_support/core_ext/object/try'
# * Lazily load TZInfo::Timezone instances only when they're needed.
# * Create ActiveSupport::TimeWithZone instances via TimeZone's +local+, +parse+, +at+ and +now+ methods.
#
-# If you set <tt>config.time_zone</tt> in the Rails Initializer, you can access this TimeZone object via <tt>Time.zone</tt>:
+# If you set <tt>config.time_zone</tt> in the Rails Application, you can access this TimeZone object via <tt>Time.zone</tt>:
#
-# # environment.rb:
-# Rails::Initializer.run do |config|
+# # application.rb:
+# class Application < Rails::Application
# config.time_zone = "Eastern Time (US & Canada)"
# end
#