Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove deprecation on active_support/core_ext/class/attribute_accesso…

…rs requires. Appropriate to keep this, users don't care that the implementation got unified.
  • Loading branch information...
commit 7a5601c432d3906cc6ab853b3316e76a162f75d1 1 parent 6869884
Jeremy Kemper jeremy authored
8 activesupport/lib/active_support/core_ext/class/attribute_accessors.rb
View
@@ -1,6 +1,4 @@
-require 'active_support/deprecation'
+# cattr_* became mattr_* aliases in 7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d,
+# but we keep this around for libraries that directly require it knowing they
+# want cattr_*. No need to deprecate.
require 'active_support/core_ext/module/attribute_accessors'
-
-ActiveSupport::Deprecation.warn(
- "The cattr_* method definitions have been moved into active_support/core_ext/module/attribute_accessors. Please require that instead."
-)
Please sign in to comment.
Something went wrong with that request. Please try again.