aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-02-27 23:36:05 +0100
committerXavier Noria <fxn@hashref.com>2009-02-27 23:36:05 +0100
commitd4128cff22f4ad4ec7a69af7f64992607dfc0a20 (patch)
treeea413fba37fa8b04a2303ce2478553a619ee8922 /railties/guides/source
parent69ad155c90d88c44d9b6e7ea47ff54abbde96d67 (diff)
downloadrails-d4128cff22f4ad4ec7a69af7f64992607dfc0a20.tar.gz
rails-d4128cff22f4ad4ec7a69af7f64992607dfc0a20.tar.bz2
rails-d4128cff22f4ad4ec7a69af7f64992607dfc0a20.zip
fixes typo @customer -> customer
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/layouts_and_rendering.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile
index f0fad2ba70..5e2cedcf0c 100644
--- a/railties/guides/source/layouts_and_rendering.textile
+++ b/railties/guides/source/layouts_and_rendering.textile
@@ -822,7 +822,7 @@ Every partial also has a local variable with the same name as the partial (minus
<%= render :partial => "customer", :object => @new_customer %>
</erb>
-Within the +customer+ partial, the +@customer+ variable will refer to +@new_customer+ from the parent view.
+Within the +customer+ partial, the +customer+ variable will refer to +@new_customer+ from the parent view.
WARNING: In previous versions of Rails, the default local variable would look for an instance variable with the same name as the partial in the parent. This behavior is deprecated in Rails 2.2 and will be removed in a future version.