diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-01 13:43:53 +0100 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-02 17:50:12 -0800 |
commit | 36a9644b86c53e322a891669cbdd2cf62cd648ac (patch) | |
tree | 7885dc5427219a3fe56c6e434b401758786cceca /railties/lib/rails/application.rb | |
parent | b540eca5889d7a28fac39c9ec0df715aa89487ce (diff) | |
download | rails-36a9644b86c53e322a891669cbdd2cf62cd648ac.tar.gz rails-36a9644b86c53e322a891669cbdd2cf62cd648ac.tar.bz2 rails-36a9644b86c53e322a891669cbdd2cf62cd648ac.zip |
Clarify date/time dependencies
Diffstat (limited to 'railties/lib/rails/application.rb')
-rw-r--r-- | railties/lib/rails/application.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 26a55a73e1..af73b08547 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -242,6 +242,7 @@ module Rails # If assigned value cannot be matched to a TimeZone, an exception will be raised. initializer :initialize_time_zone do if config.time_zone + require 'active_support/core_ext/time/zones' zone_default = Time.__send__(:get_zone, config.time_zone) unless zone_default |