Updated dependency ransack to v4

This commit is contained in:
Sergei Tsoganov 2023-03-16 11:28:25 +02:00
parent a78f5b901f
commit 37c16a067d
16 changed files with 139 additions and 36 deletions

View file

@ -245,6 +245,14 @@ class Domain < ApplicationRecord
end
class << self
def ransackable_associations(auth_object = nil)
super
end
def ransackable_attributes(auth_object = nil)
super
end
def nameserver_required?
Setting.nameserver_required
end