dropkiq 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dropkiq/drop_method_analyzer.rb +7 -1
- data/lib/dropkiq/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: b29aa33cb5696a6b569e4d7db891b71d8b554551
|
4
|
+
data.tar.gz: 33f3a5353cd519dbf1577aaed5e8a2738f39755b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf739265bf1d2fac61eef26c0d5ed00a700e2ee9fe8f4597abfeac118e7f3eba3b9165f8fac5c3bd9b0c754cf554bc1ad926c6a410a5979172af4c9f1a407ae2
|
7
|
+
data.tar.gz: 8a3cd96c060f04f75a16f67c2b3a917715f4996015987d4330e653b782dc365666cf47ae3465e061f7b38d0fe7d3f99ab5d9f9822c651b14d209ce07ce154e38
|
data/Gemfile.lock
CHANGED
@@ -39,7 +39,13 @@ module Dropkiq
|
|
39
39
|
|
40
40
|
def relationship_to_dropkiq_type_classifier
|
41
41
|
reflection = reflect_on_association_value
|
42
|
-
|
42
|
+
|
43
|
+
begin
|
44
|
+
self.foreign_table_name = reflection.class_name.constantize.table_name
|
45
|
+
rescue
|
46
|
+
puts "Table not found for reflect_on_association value: #{reflection.inspect}"
|
47
|
+
raise
|
48
|
+
end
|
43
49
|
|
44
50
|
case reflection
|
45
51
|
when ActiveRecord::Reflection::BelongsToReflection
|
data/lib/dropkiq/version.rb
CHANGED