aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorWincent Colaiuta <win@wincent.com>2010-07-21 19:21:05 +0200
committerXavier Noria <fxn@hashref.com>2010-07-22 01:28:31 +0200
commit198975ecee96632ef23064d2b8e772d042bca4ac (patch)
tree162d18adec3b1e72e104035092b07ac06c4055cc /actionpack/lib/action_view/helpers
parentab62aa1c4309b670c5e3bdce2cf35113e1aa874b (diff)
downloadrails-198975ecee96632ef23064d2b8e772d042bca4ac.tar.gz
rails-198975ecee96632ef23064d2b8e772d042bca4ac.tar.bz2
rails-198975ecee96632ef23064d2b8e772d042bca4ac.zip
doc: form_for does return output rather than merely evaluate its block
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb4
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 524913ae29..b0af836522 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: