aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/form_helpers.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-04-21 23:04:04 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-04-21 23:04:04 +0530
commita719843d31042690fa4fa8f55bc8a647d360b2a8 (patch)
treed7cf910019968511bd33a15ba2c3709a366f23cd /guides/source/form_helpers.textile
parented8108300b2bb96f9f6888188f4fb8cd418ab950 (diff)
parentc670b57f0f9ec4d992f89e62e513ff5b7baf58ac (diff)
downloadrails-a719843d31042690fa4fa8f55bc8a647d360b2a8.tar.gz
rails-a719843d31042690fa4fa8f55bc8a647d360b2a8.tar.bz2
rails-a719843d31042690fa4fa8f55bc8a647d360b2a8.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/form_helpers.textile')
-rw-r--r--guides/source/form_helpers.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.textile b/guides/source/form_helpers.textile
index 8934667c5e..b6420db798 100644
--- a/guides/source/form_helpers.textile
+++ b/guides/source/form_helpers.textile
@@ -89,7 +89,7 @@ form_tag(:controller => "people", :action => "search", :method => "get", :class
# => '<form accept-charset="UTF-8" action="/people/search?method=get&class=nifty_form" method="post">'
</ruby>
-Here, +method+ and +class+ are appended to the query string of the generated URL because you even though you mean to write two hashes, you really only specified one. So you need to tell Ruby which is which by delimiting the first hash (or both) with curly brackets. This will generate the HTML you expect:
+Here, +method+ and +class+ are appended to the query string of the generated URL because even though you mean to write two hashes, you really only specified one. So you need to tell Ruby which is which by delimiting the first hash (or both) with curly brackets. This will generate the HTML you expect:
<ruby>
form_tag({:controller => "people", :action => "search"}, :method => "get", :class => "nifty_form")