rails/rails — pull request #4744 by ndbroadbent (2012-01-29 17:41:45+00:00)
Title: Replaced all 'for' loops with Enumerable#each

Was reading a [small discussion on r/ruby](http://www.reddit.com/r/ruby/comments/p1l8k/why_is_there_forstatement_in_ruby/) about `for` loops vs. `Enumerable#each`.

`foo.each do |bar|` is definitely the most common and preferred style, so I grepped the Rails codebase and replaced the 28 `for` loops that I found.