提交 7a5601c4 编写于 作者: J Jeremy Kemper

Remove deprecation on active_support/core_ext/class/attribute_accessors...

Remove deprecation on active_support/core_ext/class/attribute_accessors requires. Appropriate to keep this, users don't care that the implementation got unified.
上级 6869884b
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."
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册