AS guide: renames a variable
This commit is contained in:
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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user