Permalink
Browse files

Fix documentation for grouped_collection_select [ci skip]

  • Loading branch information...
1 parent 995b4cf commit 2137f8842bdb14306fa635845e91ad4a5428cbb0 @keydunov keydunov 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 2137f88

Please sign in to comment.