Fixes ransack upgrade to 4.0
This commit is contained in:
parent
e178f94ff7
commit
f3a1def396
@ -4,6 +4,10 @@ class Member < ApplicationRecord
|
||||
has_many :notifications
|
||||
has_paper_trail
|
||||
|
||||
def self.ransackable_attributes(auth_object = nil)
|
||||
%w[display_name legal_name email identification_number]
|
||||
end
|
||||
|
||||
def cancelled_on
|
||||
expires_on + 90.days
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user