From a4a2aba13df90b86e500069bbf9581fb5e04e3a8 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 19 Mar 2024 22:18:38 +0100 Subject: [PATCH] Remove old attribute accessors from Answer --- app/models/answer.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/answer.rb b/app/models/answer.rb index 750009cf..edc452cc 100644 --- a/app/models/answer.rb +++ b/app/models/answer.rb @@ -1,8 +1,6 @@ class Answer < ApplicationRecord extend Answer::TimelineMethods - attr_accessor :has_reacted, :is_subscribed - belongs_to :user, counter_cache: :answered_count belongs_to :question, counter_cache: :answer_count has_many :comments, dependent: :destroy