diff --git a/app/models/user.rb b/app/models/user.rb index 5040624df..7c9d9d8b8 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -133,10 +133,6 @@ class User < ApplicationRecord scope :inactive_for, ->(threshold) { where(current_sign_in_at: ...threshold.ago) } scope :confirmation_sent_before, ->(threshold) { where(confirmation_sent_at: ...threshold.ago) } - searchable do - text :tutorial_name - end - # returns the array of all teachers def self.teachers User.where(id: Lecture.distinct.select(:teacher_id))