form => form_for

This commit is contained in:
Vijay Dev
2011-06-15 18:56:22 +05:30
parent 0a67b745be
commit 77c8cd7516

View File

@@ -290,7 +290,7 @@ module ActionView
#
# Example:
#
# <%= form(@post) do |f| %>
# <%= form_for(@post) do |f| %>
# <% f.fields_for(:comments, :include_id => false) do |cf| %>
# ...
# <% end %>