Remove Ransack from Exercise edit for tags
* Also improve Ransack usage of attributes and associations
This commit is contained in:
@ -191,6 +191,10 @@ class Submission < ApplicationRecord
|
||||
result.merge(output)
|
||||
end
|
||||
|
||||
def self.ransackable_attributes(_auth_object = nil)
|
||||
%w[study_group_id]
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def prepared_runner
|
||||
|
Reference in New Issue
Block a user