File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2602,12 +2602,12 @@ Controls what happens to the associated object when its owner is destroyed:
2602
2602
Do not use this option if the association is backed by foreign key constraints
2603
2603
in your database. The foreign key constraint actions will occur inside the
2604
2604
same transaction that deletes its owner.
2605
- * ` :nullify ` causes the foreign key to be set to ` NULL ` . Polymorphic type
2605
+ * ` :nullify ` causes the foreign key to be set to ` NULL ` . Polymorphic type
2606
2606
column is also nullified on polymorphic associations. Callbacks are not
2607
2607
executed.
2608
- * ` :restrict_with_exception ` causes an ` ActiveRecord::DeleteRestrictionError `
2608
+ * ` :restrict_with_exception ` causes an ` ActiveRecord::DeleteRestrictionError `
2609
2609
exception to be raised if there is an associated record
2610
- * ` :restrict_with_error ` causes an error to be added to the owner if there is
2610
+ * ` :restrict_with_error ` causes an error to be added to the owner if there is
2611
2611
an associated object
2612
2612
2613
2613
WARNING: You should not specify this option on a ` belongs_to ` association that
You can’t perform that action at this time.
0 commit comments