activerecord-fb-adapter 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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: