Skip to content

Commit cac3261

Browse files
committed
Clean up
1 parent 5aeaa1f commit cac3261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongoid_acts_as_tree.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def <<(object, will_save=true)
257257
raise CyclicError, 'Cyclic Tree Structure'
258258
elsif !@parent.same_scope?(object)
259259
# child and parent must be within the same scope
260-
raise ScopeError, 'Child must be in the same scope as parent'
260+
raise ScopeError, 'Child must be in the same scope as parent'
261261
else
262262

263263
prev_depth = object.depth

0 commit comments

Comments
 (0)