Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing quote in grouped_options_for_select example

  • Loading branch information...
commit 3ffe1cd27be8d80293afce9be5115005f97f7cec 1 parent ec080f9
diego authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/form_options_helper.rb
View
2  actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -427,7 +427,7 @@ def option_groups_from_collection_for_select(collection, group_method, group_lab
#
# Sample usage (Hash):
# grouped_options = {
- # 'North America' => [['United States','US], 'Canada'],
+ # 'North America' => [['United States','US'], 'Canada'],
# 'Europe' => ['Denmark','Germany','France']
# }
# grouped_options_for_select(grouped_options)
Please sign in to comment.
Something went wrong with that request. Please try again.