forest_liana 9.3.3 → 9.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/belongs_to_updater.rb +1 -1
- data/lib/forest_liana/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f051f67c326d7421e2dfe96664caf091e7bc3844d3ce81f1aa0906ef272c1f57
|
4
|
+
data.tar.gz: c8d9cce9f4b85ee41364789821994534901ccf8b35b0730da92598705b135567
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c7171fc45cfb2e7e8413fd5d138afaadbd120f615d0ed3c7d1e452a7bbebcf6a8e2fc6dd4806c694906335ff3b1ad09b59cf36968c02f5cb679a762f254e89d
|
7
|
+
data.tar.gz: 65070076fdb2418e13bdd7f8d0b2bd98000d2fc2f98c777d46ff58453eea4fb4bcac787a1547be91b8504883b5a305a9afe68aabf4db97229beb52f1dc2aabf4
|
@@ -17,7 +17,7 @@ module ForestLiana
|
|
17
17
|
if @data.nil?
|
18
18
|
new_value = nil
|
19
19
|
else
|
20
|
-
association_klass = SchemaUtils.polymorphic_models(@association).select { |a| a.name
|
20
|
+
association_klass = SchemaUtils.polymorphic_models(@association).select { |a| a.name == @data[:type] }.first
|
21
21
|
new_value = association_klass.find(@data[:id]) if @data && @data[:id]
|
22
22
|
end
|
23
23
|
else
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.3.
|
4
|
+
version: 9.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|