Permalink
Browse files

Added missing quote in grouped_options_for_select example

  • Loading branch information...
1 parent ec080f9 commit 3ffe1cd27be8d80293afce9be5115005f97f7cec diego committed May 26, 2011
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)

0 comments on commit 3ffe1cd

Please sign in to comment.