aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorDavid Morton <mortonda@dgrmm.net>2012-05-22 22:00:31 -0500
committerDavid Morton <mortonda@dgrmm.net>2012-05-22 22:00:31 -0500
commit2227064b2a26914f662878482fb00dc25546ecd8 (patch)
tree648cd794c30e841abc6ac90554e1ed0fd4e579f5 /actionpack/lib
parentf09c84ca26a73304943421d473faa3ea808d18ce (diff)
downloadrails-2227064b2a26914f662878482fb00dc25546ecd8.tar.gz
rails-2227064b2a26914f662878482fb00dc25546ecd8.tar.bz2
rails-2227064b2a26914f662878482fb00dc25546ecd8.zip
Fix incorrect example for fields_for - without the '=' it will not output anything.
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index 61e7a89585..12576ecd01 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -342,7 +342,7 @@ module ActionView
# Example:
#
# <%= form_for(@post) do |f| %>
- # <% f.fields_for(:comments, :include_id => false) do |cf| %>
+ # <%= f.fields_for(:comments, :include_id => false) do |cf| %>
# ...
# <% end %>
# <% end %>