Skip to content
Browse files

removed extra "you"

  • Loading branch information...
1 parent a4508ed commit 6054e367f1baf7b8aa051de6d193b867383e2822 Kevin Musiorski committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/form_helpers.textile
View
2 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")

0 comments on commit 6054e36

Please sign in to comment.
Something went wrong with that request. Please try again.