Unnecessary after_touch
This commit is contained in:
@@ -3,7 +3,5 @@ class Message < ApplicationRecord
|
||||
|
||||
delegated_type :messageable, types: Messageable::TYPES, inverse_of: :message, dependent: :destroy
|
||||
|
||||
after_touch -> { bubble.touch }
|
||||
|
||||
scope :chronologically, -> { order created_at: :asc, id: :desc }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user