Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix warning: circular require considered harmful.

  • Loading branch information...
commit 8b05cfad113807d4545fccff303446305ab093df 1 parent df08271
Toshinori Kajihara authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 activesupport/lib/active_support/deprecation.rb
13 activesupport/lib/active_support/deprecation.rb
@@ -1,15 +1,16 @@
-require 'active_support/core_ext/module/deprecation'
-require 'active_support/deprecation/instance_delegator'
-require 'active_support/deprecation/behaviors'
-require 'active_support/deprecation/reporting'
-require 'active_support/deprecation/method_wrappers'
-require 'active_support/deprecation/proxy_wrappers'
require 'singleton'
module ActiveSupport
# \Deprecation specifies the API used by Rails to deprecate methods, instance
# variables, objects and constants.
class Deprecation
+ require 'active_support/deprecation/instance_delegator'
+ require 'active_support/deprecation/behaviors'
+ require 'active_support/deprecation/reporting'
+ require 'active_support/deprecation/method_wrappers'
+ require 'active_support/deprecation/proxy_wrappers'
+ require 'active_support/core_ext/module/deprecation'
include Singleton
include InstanceDelegator
include Behavior
Please sign in to comment.
Something went wrong with that request. Please try again.