提交 cf7fac7e 编写于 作者: R Radan Skoric

Fix ActiveModel::Errors deprecation messages failing when used on its own

  Deprecation messages in ActiveModel::Errors are using String#squish
from ActiveSupport but were not explicitly requiring it, causing failures
when used outside rails.
上级 92a3c8dc
......@@ -3,6 +3,7 @@
require 'active_support/core_ext/array/conversions'
require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/object/deep_dup'
require 'active_support/core_ext/string/filters'
module ActiveModel
# == Active \Model \Errors
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册