aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorDallas Reedy <code@dallasreedy.com>2011-09-13 16:32:43 -0700
committerDallas Reedy <code@dallasreedy.com>2011-09-14 09:16:54 -0700
commitc7835c51618a6a46d1b5ec63dfaf2d99e157da42 (patch)
treee545d722dfb6cdfc39796d15a890a12ec34dca50 /railties/guides/source
parent7302e1cdf22951db1a4cbad45bf116db1be0eebb (diff)
downloadrails-c7835c51618a6a46d1b5ec63dfaf2d99e157da42.tar.gz
rails-c7835c51618a6a46d1b5ec63dfaf2d99e157da42.tar.bz2
rails-c7835c51618a6a46d1b5ec63dfaf2d99e157da42.zip
Removed mention of deprecated proxy methods in favor of using proxy_association.
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/association_basics.textile9
1 files changed, 5 insertions, 4 deletions
diff --git a/railties/guides/source/association_basics.textile b/railties/guides/source/association_basics.textile
index ce4ff0389d..0439b6ac4d 100644
--- a/railties/guides/source/association_basics.textile
+++ b/railties/guides/source/association_basics.textile
@@ -1855,14 +1855,15 @@ class Customer < ActiveRecord::Base
end
</ruby>
-Extensions can refer to the internals of the association proxy using these three accessors:
+Extensions can refer to the internals of the association proxy using these three attributes of the +proxy_association+ accessor:
-* +proxy_owner+ returns the object that the association is a part of.
-* +proxy_reflection+ returns the reflection object that describes the association.
-* +proxy_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+.
+* +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+.
h3. Changelog
+* September 13, 2011: Removed mention of deprecated proxy methods in favor of using +proxy_association+.
* April 7, 2010: Fixed document to validate XHTML 1.0 Strict. "Jaime Iniesta":http://jaimeiniesta.com
* April 19, 2009: Added +:touch+ option to +belongs_to+ associations by "Mike Gunderloy":credits.html#mgunderloy
* February 1, 2009: Added +:autosave+ option "Mike Gunderloy":credits.html#mgunderloy