Skip to content

Commit

Permalink
Remove obsolete compatibility module
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltrix committed Jun 13, 2011
1 parent 45509ee commit a52b141
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions activesupport/lib/active_support/dependencies.rb
Expand Up @@ -651,17 +651,6 @@ def new_constants_in(*descs)
return []
end

class LoadingModule #:nodoc:
# Old style environment.rb referenced this method directly. Please note, it doesn't
# actually *do* anything any more.
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
end

# Convert the provided const desc to a qualified constant name (as a string).
# A module, class, symbol, or string may be provided.
def to_constant_name(desc) #:nodoc:
Expand Down

0 comments on commit a52b141

Please sign in to comment.