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:
parent
0df9149fd6
commit
73ec210e4c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module ActiveRecord
|
||||||
through_reflection.name,
|
through_reflection.name,
|
||||||
through_scope)
|
through_scope)
|
||||||
|
|
||||||
through_records = owners.map do |owner, h|
|
through_records = owners.map do |owner|
|
||||||
association = owner.association through_reflection.name
|
association = owner.association through_reflection.name
|
||||||
|
|
||||||
[owner, Array(association.reader)]
|
[owner, Array(association.reader)]
|
||||||
|
|
Loading…
Reference in a new issue