rails/rails — pull request #9763 by vipulnsward (2013-03-17 18:57:11+00:00)
Title: fix repeat of test; remove unused variable by use of each_key

1. The loop was unnecessarily repeating itself
2. Removed unused variable by use of each_key in place of each