class method
self.require_tzinfo
Ruby on Rails 3.2.22.5
Since v3.1.12 Last seen in v4.0.13Signature
self.require_tzinfo()
No documentation comment.
Source
# File activesupport/lib/active_support/values/time_zone.rb, line 386
def require_tzinfo
require 'tzinfo' unless defined?(::TZInfo)
rescue LoadError
$stderr.puts "You don't have tzinfo installed in your application. Please add it to your Gemfile and run bundle install"
raise
end
Defined in activesupport/lib/active_support/values/time_zone.rb line 386
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeZone