Permalink
Browse files

eternal confusion! fixed doco to inform correctly

  • Loading branch information...
1 parent a7791c3 commit 6fc3750471ff9642395c4e0462d5059c2133d9aa Aditya Sanghi committed Dec 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -68,7 +68,7 @@ def form_tag(url_for_options = {}, options = {}, *parameters_for_url, &block)
# * Any other key creates standard HTML attributes for the tag.
#
# ==== Examples
- # select_tag "people", options_from_collection_for_select(@people, "name", "id")
+ # select_tag "people", options_from_collection_for_select(@people, "id", "name")
# # <select id="people" name="people"><option value="1">David</option></select>
#
# select_tag "people", "<option>David</option>"

0 comments on commit 6fc3750

Please sign in to comment.