未验证 提交 ef5478d3 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #34464 from gmcgibbon/re_add_changes_applied_doc

Re-add changes_applied doc
......@@ -141,7 +141,9 @@ def initialize_dup(other) # :nodoc:
@mutations_from_database = nil
end
def changes_applied # :nodoc:
# Clears dirty data and moves +changes+ to +previously_changed+ and
# +mutations_from_database+ to +mutations_before_last_save+ respectively.
def changes_applied
unless defined?(@attributes)
@previously_changed = changes
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册