Skip to content

Commit 1ba328e

Browse files
committed
Remove proxy_association references from guides [ci-skip]
Commit 6795a24 made `proxy_assocation` non-public API by marking it `:nodoc`. This change remove references to `proxy_association` from the guides.
1 parent a2a870a commit 1ba328e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

guides/source/association_basics.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2821,12 +2821,6 @@ class Supplier < ApplicationRecord
28212821
end
28222822
```
28232823

2824-
Extensions can refer to the internals of the association proxy using these three attributes of the `proxy_association` accessor:
2825-
2826-
* `proxy_association.owner` returns the object that the association is a part of.
2827-
* `proxy_association.reflection` returns the reflection object that describes the association.
2828-
* `proxy_association.target` returns the associated object for `belongs_to` or `has_one`, or the collection of associated objects for `has_many` or `has_and_belongs_to_many`.
2829-
28302824
### Association Scoping using the Association Owner
28312825

28322826
The owner of the association can be passed as a single argument to the scope

0 commit comments

Comments
 (0)