aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/guides/source/active_support_overview.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile
index 8641eca3eb..14618809be 100644
--- a/railties/guides/source/active_support_overview.textile
+++ b/railties/guides/source/active_support_overview.textile
@@ -159,7 +159,7 @@ current_user.to_query('user') # => user=357-john-smith
This method escapes whatever is needed, both for the key and the value:
<ruby>
-u.to_query('company[name]')
+account.to_query('company[name]')
# => "company%5Bname%5D=Johnson+%26+Johnson"
</ruby>