aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_tag_helper.rb
diff options
context:
space:
mode:
authorAditya Sanghi <asanghi@me.com>2010-12-15 16:13:36 +0530
committerAditya Sanghi <asanghi@me.com>2010-12-15 16:13:36 +0530
commit6fc3750471ff9642395c4e0462d5059c2133d9aa (patch)
treeaf25d454d6f27c74ea6aeebaa01e3c27b087adea /actionpack/lib/action_view/helpers/form_tag_helper.rb
parenta7791c375228472f2d51705bcee01eced982df3a (diff)
downloadrails-6fc3750471ff9642395c4e0462d5059c2133d9aa.tar.gz
rails-6fc3750471ff9642395c4e0462d5059c2133d9aa.tar.bz2
rails-6fc3750471ff9642395c4e0462d5059c2133d9aa.zip
eternal confusion! fixed doco to inform correctly
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb
index c41271635d..9500e85e8b 100644
--- a/actionpack/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -68,7 +68,7 @@ module ActionView
# * 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>"