mirror of
https://github.com/internetee/registry.git
synced 2025-08-23 09:40:56 +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
|
@ -4,5 +4,13 @@ module ApiLog
|
|||
# to_sym is needed because passing a string to ActiveRecord::Base.establish_connection
|
||||
# for a configuration lookup is deprecated
|
||||
establish_connection "api_log_#{Rails.env}".to_sym
|
||||
|
||||
def self.ransackable_associations(auth_object = nil)
|
||||
super
|
||||
end
|
||||
|
||||
def self.ransackable_attributes(auth_object = nil)
|
||||
super
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue