Class: ActiveSupport::Dependencies::LoadingModule
- Inherits:
-
Object
- Object
- ActiveSupport::Dependencies::LoadingModule
- Defined in:
- activesupport/lib/active_support/dependencies.rb
Overview
:nodoc:
Class Method Summary (collapse)
-
+ (Object) root(*args)
Old style environment.rb referenced this method directly.
Class Method Details
+ (Object) root(*args)
Old style environment.rb referenced this method directly. Please note, it doesn't actually do anything any more.
614 615 616 617 618 619 |
# File 'activesupport/lib/active_support/dependencies.rb', line 614 def self.root(*args) if defined?(Rails) && Rails.logger Rails.logger.warn "Your environment.rb uses the old syntax, it may not continue to work in future releases." Rails.logger.warn "For upgrade instructions please see: http://manuals.rubyonrails.com/read/book/19" end end |