aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorTore Darell <toredarell@gmail.com>2009-02-07 00:38:40 +0100
committerTore Darell <toredarell@gmail.com>2009-02-07 00:38:40 +0100
commitecc9e86e8963ae4359bde4d0e8702fa51cd07d25 (patch)
treed3f13b2d0c2751c982fbad194869388ee2dcfd78 /railties/guides
parent858aaa963c2f63dd9dd7bd853376caf57c70d575 (diff)
downloadrails-ecc9e86e8963ae4359bde4d0e8702fa51cd07d25.tar.gz
rails-ecc9e86e8963ae4359bde4d0e8702fa51cd07d25.tar.bz2
rails-ecc9e86e8963ae4359bde4d0e8702fa51cd07d25.zip
Remove <code> from inside <pre>
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/action_controller_overview.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile
index 9b8e1b4751..885c691efb 100644
--- a/railties/guides/source/action_controller_overview.textile
+++ b/railties/guides/source/action_controller_overview.textile
@@ -101,9 +101,9 @@ h4. Hash and Array Parameters
The params hash is not limited to one-dimensional keys and values. It can contain arrays and (nested) hashes. To send an array of values, append "[]" to the key name:
-<pre><code>
+<pre>
GET /clients?ids[]=1&ids[]=2&ids[]=3
-</code></pre>
+</pre>
NOTE: The actual URL in this example will be encoded as "/clients?ids%5b%5d=1&ids%5b%5d=2&ids%5b%5b=3" as [ and ] are not allowed in URLs. Most of the time you don't have to worry about this because the browser will take care of it for you, and Rails will decode it back when it receives it, but if you ever find yourself having to send those requests to the server manually you have to keep this in mind.