Skip to content
Browse files

Merge pull request #11141 from keydunov/master

Fix documentation for grouped_collection_select
  • Loading branch information...
2 parents 90f0014 + 2137f88 commit 4f1a7dc9567af6aea6f6f53177d4a9e61b6dd3c5 @senny senny committed Jun 27, 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
@@ -783,7 +783,7 @@ def collection_select(method, collection, value_method, text_method, options = {
# Wraps ActionView::Helpers::FormOptionsHelper#grouped_collection_select for form builders:
#
# <%= form_for @city do |f| %>
- # <%= f.grouped_collection_select :country_id, :country_id, @continents, :countries, :name, :id, :name %>
+ # <%= f.grouped_collection_select :country_id, @continents, :countries, :name, :id, :name %>
# <%= f.submit %>
# <% end %>
#

0 comments on commit 4f1a7dc

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