diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-03 11:23:09 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-07 14:13:46 -0800 |
commit | a92af3fbf0c941c5e8c210e9bbba6a9ab50ca772 (patch) | |
tree | 905b346a68dcb88f9a28344980b1affe1649c38b /activerecord/lib | |
parent | 3efbd7fadeb3545b3b5c3df77236f4868064eabb (diff) | |
download | rails-a92af3fbf0c941c5e8c210e9bbba6a9ab50ca772.tar.gz rails-a92af3fbf0c941c5e8c210e9bbba6a9ab50ca772.tar.bz2 rails-a92af3fbf0c941c5e8c210e9bbba6a9ab50ca772.zip |
columns are lazily typecast, so no more calls to `result_as_array`
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index a0010ac7b7..5b150f2731 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -719,7 +719,7 @@ module ActiveRecord } end - ret = Result.new(result.fields, result_as_array(result), types) + ret = Result.new(result.fields, result.values, types) result.clear return ret end |