Permalink
Browse files

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

  • Loading branch information...
1 parent 24c0bc5 commit 680f0459a3a4fe59b215d26c2de03f963c2c29ee @wincent wincent committed Jul 21, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 actionpack/lib/action_view/helpers/form_helper.rb
View
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 680f045

Please sign in to comment.