aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-27 15:46:05 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-27 15:46:05 -0200
commitdd4203cfaf8ef8f006b26542aa329b5b721701de (patch)
tree9aa7cca2fa8737794a2677af5d0b7317449329e7 /guides/source
parent30aa3d4333dd025976790c491277c6b484979e06 (diff)
parent263e9e468172b0f7ab6d048af260b0b50c2afa1c (diff)
downloadrails-dd4203cfaf8ef8f006b26542aa329b5b721701de.tar.gz
rails-dd4203cfaf8ef8f006b26542aa329b5b721701de.tar.bz2
rails-dd4203cfaf8ef8f006b26542aa329b5b721701de.zip
Merge pull request #17802 from aar0nTw/remove-dependent-with-through-note
[ci skip] Remove outdate note of :dependent in guide
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/association_basics.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md
index 61490ceb54..a12f5638e3 100644
--- a/guides/source/association_basics.md
+++ b/guides/source/association_basics.md
@@ -1532,8 +1532,6 @@ Controls what happens to the associated objects when their owner is destroyed:
* `:restrict_with_exception` causes an 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
-NOTE: This option is ignored when you use the `:through` option on the association.
-
##### `:foreign_key`
By convention, Rails assumes that the column used to hold the foreign key on the other model is the name of this model with the suffix `_id` added. The `:foreign_key` option lets you set the name of the foreign key directly: