Class Dependencies::LoadingModule
In: vendor/rails/activesupport/lib/active_support/dependencies.rb
Parent: Object

Methods

root  

Public Class methods

Old style environment.rb referenced this method directly. Please note, it doesn’t actualy do anything any more.

[Source]

     # File vendor/rails/activesupport/lib/active_support/dependencies.rb, line 274
274:     def self.root(*args)
275:       if defined?(RAILS_DEFAULT_LOGGER)
276:         RAILS_DEFAULT_LOGGER.warn "Your environment.rb uses the old syntax, it may not continue to work in future releases."
277:         RAILS_DEFAULT_LOGGER.warn "For upgrade instructions please see: http://manuals.rubyonrails.com/read/book/19"
278:       end
279:     end

[Validate]