rails_settlement 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_settlement/version.rb +1 -1
- data/lib/rails_settlement.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: e5babe02d110a7be58276f8db43f444866c28348919e0395a95b18a42400f4c8
|
4
|
+
data.tar.gz: 072ba56c5d56d4ac8114c73e31e3ef4674ae9ceca1412d7841dd1461788ed664
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83560391ae6716aef1cf12455dac296600b6a3b295a72a63cf276dca52ea119d6cda3e384cf427da9650d016bd4416dcc40f3181a7ed252837d08bc92f541704
|
7
|
+
data.tar.gz: 132e33a061a3b536c63f56ea391d9ba85465336561145ff18cc2cb1cb4b0a685ad6b1690529e4785af255b9f9354c19c2d845632cf14b5d5de0b48db87d09799
|
data/lib/rails_settlement.rb
CHANGED
@@ -69,7 +69,7 @@ module RailsSettlement
|
|
69
69
|
def _rs_associated_scope(scoped_relation:, associated_to: nil)
|
70
70
|
return scoped_relation if associated_to.blank?
|
71
71
|
|
72
|
-
scoped_relation.where(associated_to => public_send(associated_to))
|
72
|
+
scoped_relation.joins(associated_to).where(associated_to => public_send(associated_to))
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_settlement
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tejas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|