[PULL REQUEST] Performance fix for Rails 3-1-stable

Hi there,

Can someone review this pull request, fixing a performance issue with options_for_select?

    https://github.com/rails/rails/pull/2302

Hopefully it can be merged before 3.1 is released...

-christos

Applied, thank you!