rails/rails — pull request #5117 by nashby (2012-02-21 17:38:24+00:00)
Title: FormOptionsHelper refactor

BTW, select works a little faster then find_all:

```ruby
require 'benchmark'

n = [1]*100_000_000
Benchmark.bm do |x|
x.report { n.select { |a| a > 1 } }
x.report { n.find_all { |a| a > 1 } }
end
```

```
user system total real
7.590000 0.010000 7.600000 ( 7.927171)
9.650000 0.010000 9.660000 ( 9.634406)
```