diff options
author | Xavier Noria <fxn@hashref.com> | 2009-06-13 15:41:47 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-06-13 15:41:47 +0200 |
commit | bdf9c97c8c5f61e2c32a738dc8a77c60733de69e (patch) | |
tree | d72bcb2052368a49c23b41e2789de9b3d5643c6c /railties/guides | |
parent | 74e87308ed2278c8ced2cbea5fb0c0e845d2735f (diff) | |
download | rails-bdf9c97c8c5f61e2c32a738dc8a77c60733de69e.tar.gz rails-bdf9c97c8c5f61e2c32a738dc8a77c60733de69e.tar.bz2 rails-bdf9c97c8c5f61e2c32a738dc8a77c60733de69e.zip |
AS guide: renames a variable
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_support_overview.textile | 2 |
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> |