Class: ActiveSupport::Dependencies::LoadingModule
- Defined in:
- lib/gems/activesupport-2.2.2/lib/active_support/dependencies.rb
Overview
:nodoc:
Class Method Summary collapse
-
.root(*args) ⇒ Object
Old style environment.rb referenced this method directly.
Class Method Details
.root(*args) ⇒ Object
Old style environment.rb referenced this method directly. Please note, it doesn’t actually do anything any more.
566 567 568 569 570 571 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/dependencies.rb', line 566 def self.root(*args) if defined?(RAILS_DEFAULT_LOGGER) RAILS_DEFAULT_LOGGER.warn "Your environment.rb uses the old syntax, it may not continue to work in future releases." RAILS_DEFAULT_LOGGER.warn "For upgrade instructions please see: http://manuals.rubyonrails.com/read/book/19" end end |