rails/rails — comment on commit 8037c51083c99c3f8925a6236a9969e697fab410
File: activerecord/test/cases/migrator_test.rb line 234
By tenderlove:

I don't think it's an unintended side effect. The `times` method returns an enumerator. Enumerators are enumerable, so calling `map` or `to_a`, or any method provided by enumerable is a valid use.