diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-11-14 17:20:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 17:20:43 +0900 |
commit | 79d2d33489728f06838322d84da8de8f05b6afa1 (patch) | |
tree | 6cd63c3cbcbe46e3ddada15cc6e66efc1be91f4c /guides | |
parent | 9ef26accd28e3a53a0e9180b2230806480e6144d (diff) | |
parent | 9b0b066ef72f64571ce0a97ee5a70886a95afc25 (diff) | |
download | rails-79d2d33489728f06838322d84da8de8f05b6afa1.tar.gz rails-79d2d33489728f06838322d84da8de8f05b6afa1.tar.bz2 rails-79d2d33489728f06838322d84da8de8f05b6afa1.zip |
Merge pull request #34444 from esparta/fix_typo_association_basics
fix typo on association_basics.md [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/association_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index 822dee08f0..4f3e8b2cff 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -1662,7 +1662,7 @@ Controls what happens to the associated objects when their owner is destroyed: * `:restrict_with_exception` causes an `ActiveRecord::DeleteRestrictionError` exception to be raised if there are any associated records * `:restrict_with_error` causes an error to be added to the owner if there are any associated objects -The `:destroy` and `:delete_all` options also affect the samantics of the `collection.delete` and `collection=` methods by causing them to destroy associated objects when they are removed from the collection. +The `:destroy` and `:delete_all` options also affect the semantics of the `collection.delete` and `collection=` methods by causing them to destroy associated objects when they are removed from the collection. ##### `:foreign_key` |