reactive-record 0.7.33 → 0.7.34
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25d5e12a1cd149438ba74e77b496ddd4e73ac7b3
|
4
|
+
data.tar.gz: 9857e0bf18690da69436f9c88d2db92c63bc4bdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df7045617c884e0c450fd384aee18cdfb91c7aa3de95dc4065ecc2055f36d7b52bb64bc8b5579897e0839d633138ec02e30c5f19f080a5d4421cf20f442c1c44
|
7
|
+
data.tar.gz: 54d9f137ad05c905c185375297803a50ab56566987804379b125f1c1153dacc47ee0a9273f993e740da1be059652b6b8725131940d09ca2383411c62c54f2e06
|
@@ -359,7 +359,7 @@ module ReactiveRecord
|
|
359
359
|
object.send(method)
|
360
360
|
end
|
361
361
|
end
|
362
|
-
if id and (found.nil? or !(found.class <= model) or found.id.to_s != id.to_s)
|
362
|
+
if id and (found.nil? or !(found.class <= model) or (!found.id.nil? and found.id.to_s != id.to_s))
|
363
363
|
raise "Inconsistent data sent to server - #{model.name}.find(#{id}) != [#{vector}]"
|
364
364
|
end
|
365
365
|
found
|