aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index f4756ed18d..87ae23d104 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -951,7 +951,6 @@ module ActiveRecord
results = result_as_array(res)
fields = res.fields
rows = results.map do |row|
- hashed_row = {}
row.each_with_index do |cell, cell_index|
# If this is a money type column and there are any currency symbols,
# then strip them off. Indeed it would be prettier to do this in
@@ -969,8 +968,6 @@ module ActiveRecord
row[cell_index] = cell.gsub(/[^-\d,]/, '').sub(/,/, '.')
end
end
-
- hashed_row[fields[cell_index]] = cell
end
row
end