Permalink
Browse files

form => form_for

  • Loading branch information...
1 parent 0a67b74 commit 77c8cd75162e0771dd45930a4309d3183707731a @vijaydev vijaydev committed Jun 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_helper.rb
@@ -290,7 +290,7 @@ def convert_to_model(object)
#
# Example:
#
- # <%= form(@post) do |f| %>
+ # <%= form_for(@post) do |f| %>
# <% f.fields_for(:comments, :include_id => false) do |cf| %>
# ...
# <% end %>

0 comments on commit 77c8cd7

Please sign in to comment.