Skip to content
Browse files

form => form_for

  • Loading branch information...
1 parent bb139ed commit 96b82aa2be6907cddb8d642775f5df975278daee @vijaydev vijaydev committed with fxn
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 %>

0 comments on commit 96b82aa

Please sign in to comment.
Something went wrong with that request. Please try again.