未验证 提交 a2f44cc3 编写于 作者: R Robin Dupret 提交者: GitHub

Merge pull request #34333 from albertoalmagro/fix-activemodel-dirty-changed-doc

Fix grammar in changed? docs [ci skip]
......@@ -151,7 +151,7 @@ def changes_applied # :nodoc:
@mutations_from_database = nil
end
# Returns +true+ if any of the attributes have unsaved changes, +false+ otherwise.
# Returns +true+ if any of the attributes has unsaved changes, +false+ otherwise.
#
# person.changed? # => false
# person.name = 'bob'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册