From 1ba328e5e28e080dace57c3ed66c4251e498cd87 Mon Sep 17 00:00:00 2001 From: Petrik Date: Fri, 29 Mar 2024 15:31:14 +0100 Subject: [PATCH] Remove `proxy_association` references from guides [ci-skip] Commit 6795a24c61b038c64abff834df86d2d2459b2b23 made `proxy_assocation` non-public API by marking it `:nodoc`. This change remove references to `proxy_association` from the guides. --- guides/source/association_basics.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index 23ecbdb0dcf25..78c9fc412cd4c 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -2821,12 +2821,6 @@ class Supplier < ApplicationRecord end ``` -Extensions can refer to the internals of the association proxy using these three attributes of the `proxy_association` accessor: - -* `proxy_association.owner` returns the object that the association is a part of. -* `proxy_association.reflection` returns the reflection object that describes the association. -* `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`. - ### Association Scoping using the Association Owner The owner of the association can be passed as a single argument to the scope