Permalink
Browse files

doc: form_for does return output rather than merely evaluate its block

  • Loading branch information...
1 parent ab62aa1 commit 198975ecee96632ef23064d2b8e772d042bca4ac @wincent wincent committed with fxn Jul 21, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 actionpack/lib/action_view/helpers/form_helper.rb
@@ -150,10 +150,6 @@ module FormHelper
# here a named route directly as well. Defaults to the current action.
# * <tt>:html</tt> - Optional HTML attributes for the form tag.
#
- # Worth noting is that the +form_for+ tag is called in a ERb evaluation
- # block, not an ERb output block. So that's <tt><% %></tt>, not
- # <tt><%= %></tt>.
- #
# Also note that +form_for+ doesn't create an exclusive scope. It's still
# possible to use both the stand-alone FormHelper methods and methods
# from FormTagHelper. For example:

0 comments on commit 198975e

Please sign in to comment.