From 370cdd2d80a0700065af5996389ef6a81cad1184 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 31 May 2009 01:18:34 +0200 Subject: just a typo --- railties/guides/source/active_support_overview.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source/active_support_overview.textile') diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile index 30c896b5c5..4b3e533e7a 100644 --- a/railties/guides/source/active_support_overview.textile +++ b/railties/guides/source/active_support_overview.textile @@ -95,7 +95,7 @@ end Since values are copied when a subclass is defined, if the base class changes the attribute after that, the subclass does not see the new value. That's the point. -There's a related macro called +superclass_delegating_accessor+, however, that does not copy the value when the base class is subclassed. Instead, it delegates reading to the superclass as long as the attribute is not set via its own writer. For example, +ActionMailer::Base+ defined +delivery_method+ this way: +There's a related macro called +superclass_delegating_accessor+, however, that does not copy the value when the base class is subclassed. Instead, it delegates reading to the superclass as long as the attribute is not set via its own writer. For example, +ActionMailer::Base+ defines +delivery_method+ this way: module ActionMailer -- cgit v1.2.3