Skip to content

Commit 6ff8062

Browse files
authored
MONGOID-5616: Dependent Behavior Documentation is incorrect (#5628)
1 parent f7fc0b6 commit 6ff8062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/associations.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ The child may become orphaned if it is ordinarily only referenced via the parent
12911291
label.bands.push(Band.first)
12921292
label.delete # Raises an error since bands is not empty.
12931293

1294-
Band.first.delete # Will delete all associated albums.
1294+
Band.first.destroy # Will delete all associated albums.
12951295

12961296

12971297
Autosaving

0 commit comments

Comments
 (0)