提交 70b7e281 编写于 作者: Y Yves Senn

fix typo in deprecation message. [Robin Dupret]

上级 9cc41c36
......@@ -23,7 +23,7 @@ def initialize(options)
if options[:tokenizer]
ActiveSupport::Deprecation.warn(<<-EOS.strip_heredoc)
The `:tokenizer` option is deprecated, and will be removed in Rails 5.1.
You can achieve the same functionality be defining an instance method
You can achieve the same functionality by defining an instance method
with the value that you want to validate the length of. For example,
validates_length_of :essay, minimum: 100,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册