rails/rails — pull request #12287 by bogdan (2013-09-19 12:50:46+00:00)
Title: Fix some edge cases for select with selected option

Select should use selected option as value when specified in all layers
This is not always true right now. That is why prompt option could not
work correctly. See tests for examples.