apiotics 0.1.57 → 0.1.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apiotics/insert.rb +4 -4
- data/lib/apiotics/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00501d500f38dbef08696d2ecd48dfc6e2fbc7ba
|
4
|
+
data.tar.gz: 484e95e829bf66bb6b09387cc989e8273d8ddcde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01f16440480f01b30cf6f7389d1afe820eeba10333823f4825fbf91aa3f772bce59891c1f995fc39182877167a5078cc5c21ab8b2ee51e34b6e5e42c79c36295
|
7
|
+
data.tar.gz: b492bd839aa262afc134518fdd26e3252b68f048c87011674f0da23561ecd5e343c6ad404bddfa97dba1d51acea020e6d4160773eabaf4433badfeafb81108dd
|
data/lib/apiotics/insert.rb
CHANGED
@@ -38,14 +38,14 @@ module Apiotics
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def find_record
|
41
|
-
begin
|
41
|
+
#begin
|
42
42
|
klass = @class.classify.constantize
|
43
43
|
master_klass = (klass.parent.to_s + "::" + klass.parent.to_s).classify.constantize
|
44
44
|
master_record = master_klass.find_by(apiotics_instance: @id)
|
45
|
-
@record = master_record.send(klass.demodulize.underscore.downcase)
|
46
|
-
rescue Exception => e
|
45
|
+
@record = master_record.send(klass.classify.demodulize.underscore.downcase)
|
46
|
+
#rescue Exception => e
|
47
47
|
puts e.to_s
|
48
|
-
end
|
48
|
+
#end
|
49
49
|
end
|
50
50
|
|
51
51
|
def set_ack
|
data/lib/apiotics/version.rb
CHANGED