Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

form => form_for

  • Loading branch information...
commit 77c8cd75162e0771dd45930a4309d3183707731a 1 parent 0a67b74
@vijaydev vijaydev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/form_helper.rb
View
2  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 %>
Please sign in to comment.
Something went wrong with that request. Please try again.