Browse files

Merge pull request #11537 from Karunakar/small_fix

syntax fix f.select doc
  • Loading branch information...
2 parents b904701 + afa5445 commit 49c8b671ecae204d7683ed7473acdaa15ac4aa63 @rafaelfranca rafaelfranca committed Jul 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/helpers/form_options_helper.rb
View
2 actionview/lib/action_view/helpers/form_options_helper.rb
@@ -756,7 +756,7 @@ class FormBuilder
# Wraps ActionView::Helpers::FormOptionsHelper#select for form builders:
#
# <%= form_for @post do |f| %>
- # <%= f.select :person_id, Person.all.collect {|p| [ p.name, p.id ] }, { include_blank: true }) %>
+ # <%= f.select :person_id, Person.all.collect { |p| [ p.name, p.id ] }, include_blank: true %>
# <%= f.submit %>
# <% end %>
#

0 comments on commit 49c8b67

Please sign in to comment.