diff options
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb index 0844e5d7d7..394daef473 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb @@ -317,7 +317,7 @@ module ActiveRecord exec(sql, name, binds).map do |row| record = {} row.each do |key, value| - record[key.sub(/^"?\w+"?\./, '')] = value if key.is_a?(String) + record[key.sub(/^"?\w+"?\./, '')] = value end record end |