active_report 5.2.4 → 5.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_report/base.rb +1 -1
- data/lib/active_report/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4614fb70725ffd6adc4aa06ee4cd5d2f8c4034918b10a1ecb418bd91c97e8b52
|
4
|
+
data.tar.gz: 6f1142d465a1a27aa01c8f1270fdcf2c7dc06a7cb87e209190458c59c4588a18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0256bac113ce460cbf0c91216748fad24c9bd11236ff4addda8412e5fdd4efcd2deb89d44a8c13b3d3dd001a789e8545ad3e037a0ed6aa0fca40158e5b08433d
|
7
|
+
data.tar.gz: 6c13b9e78217c38f629964df0c788a5fb66c4045da249bf92c5706c76f51239d072c88de2f4d94de85f2a339eeb482fa7a70acd484b5e0180cf83e6b89a6e8d2
|
data/lib/active_report/base.rb
CHANGED
@@ -52,7 +52,7 @@ class ActiveReport::Base
|
|
52
52
|
|
53
53
|
def active_record_table_class?(object)
|
54
54
|
return if object.nil? || object.is_a?(ActiveRecord::Relation)
|
55
|
-
object.respond_to?(:table_name)
|
55
|
+
object.respond_to?(:table_name) || object.is_a?(Ransack::Search)
|
56
56
|
end
|
57
57
|
|
58
58
|
def encode_to_utf8(line)
|