We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0f7d7b commit 090a85bCopy full SHA for 090a85b
guides/source/association_basics.md
@@ -575,11 +575,8 @@ associated model.
575
@account = @supplier.create_account(terms: "Net 30")
576
```
577
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
+Finally, `create_association!` does the same as `create_association` above,
+but raises `ActiveRecord::RecordInvalid` if the record is invalid.
583
584
```ruby
585
# This will raise ActiveRecord::RecordInvalid because the terms is blank
0 commit comments