Remove Ransack from Exercise edit for tags

* Also improve Ransack usage of attributes and associations
This commit is contained in:
Sebastian Serth
2022-08-20 01:28:47 +02:00
parent 83feb67dd5
commit 166aa3cc6f
10 changed files with 46 additions and 3 deletions

View File

@ -15,4 +15,12 @@ class ApplicationRecord < ActiveRecord::Base
end
end
end
def self.ransackable_associations(_auth_object = nil)
[]
end
def self.ransackable_attributes(_auth_object = nil)
[]
end
end