activerecord_follow_assoc 0.1.1 → 0.1.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c3e62bdc3a618ec8df6a5b54701734f8dd2895389018eb9fd68f750f71d1fe0
|
4
|
+
data.tar.gz: c3e258f8c744305d0d272f208456b7372979fed0c36543385612c585d0657fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ae73f99a8d3f6e96487822b02a8d2757d427245c7e1041723d713ddd626f7d053a0318bdf5c4c6790ca29e2122b0028a59911275a73d157a6f3df16416fe50d
|
7
|
+
data.tar.gz: e9059d3925da935e71160d46ff75cfa0e34c27d33a0b02c28f1d02f67eed66b896aca87422563e0690084281d70302dc10ab1daf92f6ee4212bf64a1c0398d1a
|
@@ -165,7 +165,7 @@ module ActiveRecordFollowAssoc
|
|
165
165
|
|
166
166
|
if poly_belongs_to?(actual_source_reflection)
|
167
167
|
if reflection.options[:source_type]
|
168
|
-
|
168
|
+
reflection.options[:source_type].safe_constantize
|
169
169
|
else
|
170
170
|
if on_poly_belongs_to.nil?
|
171
171
|
msg = String.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord_follow_assoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxime Lapointe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|