diff options
author | Wincent Colaiuta <win@wincent.com> | 2010-07-21 19:21:05 +0200 |
---|---|---|
committer | Wincent Colaiuta <win@wincent.com> | 2010-07-21 19:21:05 +0200 |
commit | 680f0459a3a4fe59b215d26c2de03f963c2c29ee (patch) | |
tree | ce06662922d1298a2c587b926bee3b3021946438 | |
parent | 24c0bc52d260db4146525c6720be0f9be2c5fd0f (diff) | |
download | rails-680f0459a3a4fe59b215d26c2de03f963c2c29ee.tar.gz rails-680f0459a3a4fe59b215d26c2de03f963c2c29ee.tar.bz2 rails-680f0459a3a4fe59b215d26c2de03f963c2c29ee.zip |
doc: form_for does return output rather than merely evaluate its block
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 711c455ded..b8c163e1c2 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -150,10 +150,6 @@ module ActionView # 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: |