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:
26022602 Do not use this option if the association is backed by foreign key constraints
26032603 in your database. The foreign key constraint actions will occur inside the
26042604 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
26062606 column is also nullified on polymorphic associations. Callbacks are not
26072607 executed.
2608- * ` :restrict_with_exception ` causes an ` ActiveRecord::DeleteRestrictionError `
2608+ * ` :restrict_with_exception ` causes an ` ActiveRecord::DeleteRestrictionError `
26092609 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
26112611 an associated object
26122612
26132613WARNING: You should not specify this option on a ` belongs_to ` association that
You can’t perform that action at this time.
0 commit comments