aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-02-28 18:29:25 +0100
committerYves Senn <yves.senn@gmail.com>2015-02-28 18:29:25 +0100
commit811cc87d71d6d8d29dca0b674acecec48e2120d0 (patch)
tree462b738473eaae92970ce0cc7ddcd189b627164b /guides/source
parent1db5ecf1e7c748b0414b5a4369d854c7b2c5541d (diff)
parent0a3afe236be2c505d72bc30b9e453cebbff557b4 (diff)
downloadrails-811cc87d71d6d8d29dca0b674acecec48e2120d0.tar.gz
rails-811cc87d71d6d8d29dca0b674acecec48e2120d0.tar.bz2
rails-811cc87d71d6d8d29dca0b674acecec48e2120d0.zip
Merge pull request #19129 from yui-knk/fix/active_support_core_extensions
[ci skip] Fix to String
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_support_core_extensions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index 0594b701dc..0584f12568 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -349,7 +349,7 @@ end
we get:
```ruby
-current_user.to_query('user') # => user=357-john-smith
+current_user.to_query('user') # => "user=357-john-smith"
```
This method escapes whatever is needed, both for the key and the value: