Remove subscribers attribute

This commit is contained in:
Maximilian Grundke
2017-09-06 16:19:03 +02:00
parent f77c7410e1
commit 453d8fcb85

View File

@ -6,7 +6,6 @@ class RequestForComment < ActiveRecord::Base
has_many :comments, through: :submission has_many :comments, through: :submission
has_many :subscriptions has_many :subscriptions
has_many :subscribers, through: :subscriptions, source: :user, source_type: ExternalUser
scope :unsolved, -> { where(solved: [false, nil]) } scope :unsolved, -> { where(solved: [false, nil]) }