Permalink
Browse files

Added missing quote in grouped_options_for_select example

  • Loading branch information...
1 parent 64db0ee commit 9d275a8bd23f1e4251f455442aa607c1ff01c2cc diego committed with fxn May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 9d275a8

Please sign in to comment.