obtiva-activerecord-activesalesforce-adapter 2.1.0 → 2.2.0
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.
|
@@ -417,7 +417,8 @@ 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
|
-
|
|
420
|
+
id = sql.match(/WHERE\s+id\s*=\s*'(\w+)'/mi)[1]
|
|
421
|
+
|
|
421
422
|
return if ids.nil?
|
|
422
423
|
id = ids[1]
|
|
423
424
|
|
metadata
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: obtiva-activerecord-activesalesforce-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Doug Chasman
|
|
8
8
|
- Luigi Montanez
|
|
9
9
|
- Senthil Nayagam
|
|
10
|
-
- Justin Ball
|
|
11
10
|
autorequire:
|
|
12
11
|
bindir: bin
|
|
13
12
|
cert_chain: []
|