Skip to content

Commit

Permalink
eternal confusion! fixed doco to inform correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Sanghi committed Dec 15, 2010
1 parent a7791c3 commit 6fc3750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/form_tag_helper.rb
Expand Up @@ -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. # * Any other key creates standard HTML attributes for the tag.
# #
# ==== Examples # ==== 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 id="people" name="people"><option value="1">David</option></select>
# #
# select_tag "people", "<option>David</option>" # select_tag "people", "<option>David</option>"
Expand Down

0 comments on commit 6fc3750

Please sign in to comment.