rails/rails — pull request #7747 by ovargas27 (2012-09-24 19:26:35+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)