AS guide: renames a variable

This commit is contained in:
Xavier Noria 2009-06-13 15:41:47 +02:00
parent 74e87308ed
commit bdf9c97c8c

@ -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>