mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Rubocop update #2751
This commit is contained in:
parent
8946a476c2
commit
7ac6d6b362
5 changed files with 11 additions and 8 deletions
|
@ -3,7 +3,7 @@ class BankTransaction < ActiveRecord::Base
|
|||
belongs_to :bank_statement
|
||||
has_one :account_activity
|
||||
|
||||
scope :unbinded, -> {
|
||||
scope :unbinded, lambda {
|
||||
where('id NOT IN (SELECT bank_transaction_id FROM account_activities where bank_transaction_id IS NOT NULL)')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue