DEV: Rename shadowed variable

This commit is contained in:
David Taylor 2018-10-22 21:24:55 +01:00
parent 7a86163c5f
commit 17e649d645
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ SQL
needed_classes = {}
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
cls = (rgx.match col)[1].to_sym
needed_classes[cls] ||= []