aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Doyley <jdoyley@gmail.com>2016-10-26 09:22:23 +0100
committerJames Doyley <jdoyley@gmail.com>2016-10-26 09:22:23 +0100
commitae83b01b1988d85e2370a53b8c41f5be1a15e946 (patch)
tree9597397b0ba9b8da3cb42c47cb2fda900c195196
parent634741d9721eb938c8bce38c109023178268e43d (diff)
downloadrails-ae83b01b1988d85e2370a53b8c41f5be1a15e946.tar.gz
rails-ae83b01b1988d85e2370a53b8c41f5be1a15e946.tar.bz2
rails-ae83b01b1988d85e2370a53b8c41f5be1a15e946.zip
Update HABTM documentation in guides
-rw-r--r--guides/source/association_basics.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md
index 3837cda553..03d3daecc8 100644
--- a/guides/source/association_basics.md
+++ b/guides/source/association_basics.md
@@ -1994,11 +1994,9 @@ The `collection.delete` method removes one or more objects from the collection b
@part.assemblies.delete(@assembly1)
```
-WARNING: This does not trigger callbacks on the join records.
-
##### `collection.destroy(object, ...)`
-The `collection.destroy` method removes one or more objects from the collection by running `destroy` on each record in the join table, including running callbacks. This does not destroy the objects.
+The `collection.destroy` method removes one or more objects from the collection by deleting records in the join table. This does not destroy the objects.
```ruby
@part.assemblies.destroy(@assembly1)