1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Drop unused iterator var

This commit is contained in:
Vipul A M 2013-10-13 20:54:09 +05:30
parent 0df9149fd6
commit 73ec210e4c

View file

@ -15,7 +15,7 @@ module ActiveRecord
through_reflection.name,
through_scope)
through_records = owners.map do |owner, h|
through_records = owners.map do |owner|
association = owner.association through_reflection.name
[owner, Array(association.reader)]