diff options
author | Vishnu Atrai <me@vishnuatrai.com> | 2011-05-22 22:08:05 +0530 |
---|---|---|
committer | Vishnu Atrai <me@vishnuatrai.com> | 2011-05-22 22:08:05 +0530 |
commit | ab4dbb110d67376ce3025e9aba89d70683ab1325 (patch) | |
tree | d9467a5feff1c6d89124cfbc552ebd97e73c75fa | |
parent | ff55924921636c6ddeaea5d08a3587a97cd4e69b (diff) | |
download | rails-ab4dbb110d67376ce3025e9aba89d70683ab1325.tar.gz rails-ab4dbb110d67376ce3025e9aba89d70683ab1325.tar.bz2 rails-ab4dbb110d67376ce3025e9aba89d70683ab1325.zip |
remove require active_support/tzinfo as file dosent exists #TODO fix
-rw-r--r-- | activesupport/lib/active_support/values/time_zone.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb index abd585b64f..728921a069 100644 --- a/activesupport/lib/active_support/values/time_zone.rb +++ b/activesupport/lib/active_support/values/time_zone.rb @@ -315,10 +315,8 @@ module ActiveSupport tzinfo.period_for_local(time, dst) end - # TODO: Preload instead of lazy load for thread safety def self.find_tzinfo(name) - require 'active_support/tzinfo' unless defined?(::TZInfo) - ::TZInfo::TimezoneProxy.new(MAPPING[name] || name) + TZInfo::TimezoneProxy.new(MAPPING[name] || name) end class << self |