graphiti 1.0.alpha.14 → 1.0.alpha.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti/adapters/active_record/base.rb +1 -3
- data/lib/graphiti/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: 332ebf284725aa85dd8367bb40f6a42d70ed32a5
|
4
|
+
data.tar.gz: 800ec82f722e16816354372afd8221f54f0c698e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d22d1f744507b956f90109f40b02bfcd53cc59ff32a938228dc09892790cd50a3bb5695022989608c06ab6ad0886c032504b1fa542c2a04eba4ca8d66a095a1b
|
7
|
+
data.tar.gz: a85efcc26424ff6167eac16447b0529fc46b1ab45f6f3f20395f44bbf641afeeb5707a0af87ebdef29a5e488c5304cfd67c50c37def78e8ee243594b5636e639
|
@@ -214,9 +214,7 @@ module Graphiti
|
|
214
214
|
[:create, :update].include?(Graphiti.context[:namespace])
|
215
215
|
parent.send(association_name) << child
|
216
216
|
else
|
217
|
-
|
218
|
-
target |= [child]
|
219
|
-
association.instance_variable_set(:@target, target)
|
217
|
+
association.add_to_target(child, :skip_callbacks)
|
220
218
|
end
|
221
219
|
end
|
222
220
|
else
|
data/lib/graphiti/version.rb
CHANGED