Skip to content

Commit 090a85b

Browse files
committed
[ci-skip][docs] Remove duplicate paragraph in association_basics.md
1 parent a0f7d7b commit 090a85b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

guides/source/association_basics.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,11 +575,8 @@ associated model.
575575
@account = @supplier.create_account(terms: "Net 30")
576576
```
577577

578-
Finally, `create_association!` does the same, but raises
579-
`ActiveRecord::RecordInvalid` if the record is invalid.
580-
581-
`create_association!` does the same as `create_association` above, but raises
582-
`ActiveRecord::RecordInvalid` if the record is invalid.
578+
Finally, `create_association!` does the same as `create_association` above,
579+
but raises `ActiveRecord::RecordInvalid` if the record is invalid.
583580

584581
```ruby
585582
# This will raise ActiveRecord::RecordInvalid because the terms is blank

0 commit comments

Comments
 (0)