rails/rails — pull request #7264 by ovargas27 (2012-08-04 20:51:19+00:00)
Title: Allow html options on option tag

According to documentation you should be able to pass something like this as a collection:

```ruby
options_for_select([ "Denmark", ["USA", {:class => 'bold'}], "Sweden" ], ["USA", "Sweden"])
````

and get this HTML

```html

Denmark

USA

Sweden

```

> copy from actionpack/lib/action_view/helpers/form_options_helper.rb line 308

but when you do it from collection_select the :value_method by default is :last
this commit fix it and re-enable the html option for option tag

coauthored by [fedesoria](https://github.com/fedesoria) - [ovargas27](https://github.com/ovargas27)