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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8765d1ef60db470409b267f76185cbdf35d4c0c7d06019c335f4e31b9846fbe5
4
- data.tar.gz: 152505edcd4f98175058775bd71aea9feb11fdd481666f37d3fcbcd2747e971d
3
+ metadata.gz: e5babe02d110a7be58276f8db43f444866c28348919e0395a95b18a42400f4c8
4
+ data.tar.gz: 072ba56c5d56d4ac8114c73e31e3ef4674ae9ceca1412d7841dd1461788ed664
5
5
  SHA512:
6
- metadata.gz: 145fc2bad6d91b923477e12f4f4dc1d4a8cead461e87ff8ad24fd822dceb9e3b88b9f27b70ab2eb4946be2ec097509e849c204af6b3695e6e075cd6b4faa3da9
7
- data.tar.gz: 54c441d03604c4e5a13f38b67f8bb155bff4fee312641fc046bf12aa4e1260c03514ac698f189bcdbed50f2b1f86f38d823a693a10afb9626c6d6372eed1bc4a
6
+ metadata.gz: 83560391ae6716aef1cf12455dac296600b6a3b295a72a63cf276dca52ea119d6cda3e384cf427da9650d016bd4416dcc40f3181a7ed252837d08bc92f541704
7
+ data.tar.gz: 132e33a061a3b536c63f56ea391d9ba85465336561145ff18cc2cb1cb4b0a685ad6b1690529e4785af255b9f9354c19c2d845632cf14b5d5de0b48db87d09799
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsSettlement
4
- VERSION = "1.4.1"
4
+ VERSION = "1.4.2"
5
5
  end
@@ -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.1
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-17 00:00:00.000000000 Z
11
+ date: 2024-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord