Permalink
Browse files

AS guide: renames a variable

  • Loading branch information...
1 parent 74e8730 commit bdf9c97c8c5f61e2c32a738dc8a77c60733de69e @fxn fxn committed Jun 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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>

0 comments on commit bdf9c97

Please sign in to comment.