Permalink
Browse files

Fix incorrect example for fields_for - without the '=' it will not ou…

…tput anything.
  • Loading branch information...
1 parent f09c84c commit 2227064b2a26914f662878482fb00dc25546ecd8 @dgm dgm committed May 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_helper.rb
@@ -342,7 +342,7 @@ def convert_to_model(object)
# 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 %>

0 comments on commit 2227064

Please sign in to comment.