mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 06:56:23 +02:00
Updated dependency ransack to v4
This commit is contained in:
parent
a78f5b901f
commit
37c16a067d
16 changed files with 139 additions and 36 deletions
|
@ -10,6 +10,10 @@ class BankStatement < ApplicationRecord
|
|||
PARTIALLY_BINDED = 'partially_binded'.freeze
|
||||
NOT_BINDED = 'not_binded'.freeze
|
||||
|
||||
def self.ransackable_attributes(auth_object = nil)
|
||||
super
|
||||
end
|
||||
|
||||
# TODO: Cache this to database so it can be used for searching
|
||||
def status
|
||||
if bank_transactions.unbinded.count == bank_transactions.count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue