Permalink
Browse files

Fix example in ActionView::Helpers::FormHelper

  • Loading branch information...
Thibaut committed Apr 20, 2012
1 parent 6054e36 commit 09a22db8427aa64d41dac7e72552a2ae2eebad91
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_helper.rb
@@ -184,7 +184,7 @@ def convert_to_model(object)
# First name: <%= f.text_field :first_name %>
# Last name : <%= f.text_field :last_name %>
# Biography : <%= text_area :person, :biography %>
- # Admin? : <%= check_box_tag "person[admin]", @person.company.admin? %>
+ # Admin? : <%= check_box_tag "person[admin]", "1", @person.company.admin? %>
# <%= f.submit %>
# <% end %>
#

0 comments on commit 09a22db

Please sign in to comment.