mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 06:29:08 +01:00
Remove old attribute accessors from Answer
This commit is contained in:
parent
b2185987ac
commit
a4a2aba13d
1 changed files with 0 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
||||||
class Answer < ApplicationRecord
|
class Answer < ApplicationRecord
|
||||||
extend Answer::TimelineMethods
|
extend Answer::TimelineMethods
|
||||||
|
|
||||||
attr_accessor :has_reacted, :is_subscribed
|
|
||||||
|
|
||||||
belongs_to :user, counter_cache: :answered_count
|
belongs_to :user, counter_cache: :answered_count
|
||||||
belongs_to :question, counter_cache: :answer_count
|
belongs_to :question, counter_cache: :answer_count
|
||||||
has_many :comments, dependent: :destroy
|
has_many :comments, dependent: :destroy
|
||||||
|
|
Loading…
Reference in a new issue