DEV: Rename shadowed variable
This commit is contained in:
parent
7a86163c5f
commit
17e649d645
|
@ -161,7 +161,7 @@ SQL
|
||||||
needed_classes = {}
|
needed_classes = {}
|
||||||
|
|
||||||
pg_result.fields.each_with_index do |col, idx|
|
pg_result.fields.each_with_index do |col, idx|
|
||||||
rgx = column_regexes.find { |rgx| rgx.match col }
|
rgx = column_regexes.find { |r| r.match col }
|
||||||
if rgx
|
if rgx
|
||||||
cls = (rgx.match col)[1].to_sym
|
cls = (rgx.match col)[1].to_sym
|
||||||
needed_classes[cls] ||= []
|
needed_classes[cls] ||= []
|
||||||
|
|
Loading…
Reference in New Issue