Skip to content

Commit a52b141

Browse files
committed
Remove obsolete compatibility module
1 parent 45509ee commit a52b141

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

activesupport/lib/active_support/dependencies.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -651,17 +651,6 @@ def new_constants_in(*descs)
651651
return []
652652
end
653653

654-
class LoadingModule #:nodoc:
655-
# Old style environment.rb referenced this method directly. Please note, it doesn't
656-
# actually *do* anything any more.
657-
def self.root(*args)
658-
if defined?(Rails) && Rails.logger
659-
Rails.logger.warn "Your environment.rb uses the old syntax, it may not continue to work in future releases."
660-
Rails.logger.warn "For upgrade instructions please see: http://manuals.rubyonrails.com/read/book/19"
661-
end
662-
end
663-
end
664-
665654
# Convert the provided const desc to a qualified constant name (as a string).
666655
# A module, class, symbol, or string may be provided.
667656
def to_constant_name(desc) #:nodoc:

0 commit comments

Comments
 (0)