obtiva-activerecord-activesalesforce-adapter 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -417,8 +417,7 @@ module ActiveRecord
417
417
  fields = get_fields(columns, names, values, :updateable)
418
418
  null_fields = get_null_fields(columns, names, values, :updateable)
419
419
 
420
- id = sql.match(/WHERE\s+id\s*=\s*'(\w+)'/mi)[1]
421
-
420
+ ids = sql.match(/WHERE\s+id\s*=\s*'(\w+)'/mi)
422
421
  return if ids.nil?
423
422
  id = ids[1]
424
423
 
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obtiva-activerecord-activesalesforce-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Chasman
8
8
  - Luigi Montanez
9
9
  - Senthil Nayagam
10
+ - Justin Ball
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
14
 
14
- date: 2008-08-09 00:00:00 -07:00
15
+ date: 2008-12-05 00:00:00 -08:00
15
16
  default_executable:
16
17
  dependencies:
17
18
  - !ruby/object:Gem::Dependency