diff options
author | David Morton <mortonda@dgrmm.net> | 2012-05-22 22:00:31 -0500 |
---|---|---|
committer | David Morton <mortonda@dgrmm.net> | 2012-05-22 22:00:31 -0500 |
commit | 2227064b2a26914f662878482fb00dc25546ecd8 (patch) | |
tree | 648cd794c30e841abc6ac90554e1ed0fd4e579f5 | |
parent | f09c84ca26a73304943421d473faa3ea808d18ce (diff) | |
download | rails-2227064b2a26914f662878482fb00dc25546ecd8.tar.gz rails-2227064b2a26914f662878482fb00dc25546ecd8.tar.bz2 rails-2227064b2a26914f662878482fb00dc25546ecd8.zip |
Fix incorrect example for fields_for - without the '=' it will not output anything.
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 2 |
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 %> |