Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 680f0459a3a4fe59b215d26c2de03f963c2c29ee 1 parent 24c0bc5
Greg Hurrell authored
4  actionpack/lib/action_view/helpers/form_helper.rb
@@ -150,10 +150,6 @@ module FormHelper
150 150
       #   here a named route directly as well. Defaults to the current action.
151 151
       # * <tt>:html</tt> - Optional HTML attributes for the form tag.
152 152
       #
153  
-      # Worth noting is that the +form_for+ tag is called in a ERb evaluation
154  
-      # block, not an ERb output block. So that's <tt><% %></tt>, not
155  
-      # <tt><%= %></tt>.
156  
-      #
157 153
       # Also note that +form_for+ doesn't create an exclusive scope. It's still
158 154
       # possible to use both the stand-alone FormHelper methods and methods
159 155
       # from FormTagHelper. For example:

0 notes on commit 680f045

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