Skip to content

Commit e71a6d4

Browse files
authored
Merge pull request rails#53353 from wowinter13/fix-incorrect-indentation
Fix incorrect indentation in `association_basics.md` [ci skip]
2 parents ee66185 + 09b83bc commit e71a6d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/source/association_basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

26132613
WARNING: You should not specify this option on a `belongs_to` association that

0 commit comments

Comments
 (0)