Why is select helpers not using options in add_default_name_

Hello,

In actionpack/lib/action_view/helpers/form_options_helper.rb (trunk) @
~296 in the

def to_select_tag(choices, options, html_options)

function, why is there

add_default_name_and_id(html_options)

instead of

add_default_name_and_id(options)

This is inconsistent with the non-select helpers where
add_default_name_and_id always use options. Is there a special reason
for this?

Furthermore, non-select helpers seem to always “stringify” all options
and html_options before referencing them, but select helpers do not. Why
not?

  • Adam