Skip to content

Commit 2ea53a4

Browse files
committed
code review feedback
1 parent 2be8277 commit 2ea53a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/mongoid/changeable.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ def changed
1717

1818
# Indicates that the children of this document may have changed, and
1919
# ought to be checked when the document is validated.
20-
def children_may_have_changed!(flag = true)
21-
@children_may_have_changed = flag
20+
#
21+
# @api private
22+
def children_may_have_changed!
23+
@children_may_have_changed = true
2224
end
2325

2426
# Has the document changed?

0 commit comments

Comments
 (0)