activerecord-fb-adapter 0.8.5 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -603,7 +603,7 @@ module ActiveRecord
603
603
  end
604
604
  log(expand(sql, args), name) do
605
605
  fields, rows = @connection.execute(sql, *args) { |cursor| [cursor.fields, cursor.fetchall] }
606
- cols = fields.map { |f| f.name }
606
+ cols = fields.map { |f| f.name } if fields.respond_to?(:map)
607
607
  ActiveRecord::Result.new(cols, rows)
608
608
  end
609
609
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-fb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: