diff options
author | Matthew Draper <matthew@trebex.net> | 2016-10-28 16:33:21 -0500 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-10-28 16:33:21 -0500 |
commit | dcb364ec8ec89c4c70c8de1965a3d3d6b45de072 (patch) | |
tree | 69c820d152d681baba1ae8523a476e7f6ad0d41d | |
parent | a0a37d9fd3c35f44fa58439fa41b4cdff2d25a98 (diff) | |
download | rails-dcb364ec8ec89c4c70c8de1965a3d3d6b45de072.tar.gz rails-dcb364ec8ec89c4c70c8de1965a3d3d6b45de072.tar.bz2 rails-dcb364ec8ec89c4c70c8de1965a3d3d6b45de072.zip |
Fix the variable scoping issue I introduced in 007e50d8e5a900547471b6c4ec79d9d217682c5d
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index bd73668359..a473c5d67d 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -214,9 +214,9 @@ module ActiveRecord stmt.bind_params(type_casted_binds) records = stmt.to_a end - end - ActiveRecord::Result.new(cols, records) + ActiveRecord::Result.new(cols, records) + end end end |