Add subscription model and link it to RFC

This commit is contained in:
Maximilian Grundke
2017-09-06 15:16:47 +02:00
parent f628774995
commit 5aa9edb209
6 changed files with 81 additions and 1 deletions

View File

@ -0,0 +1,4 @@
class Subscription < ActiveRecord::Base
belongs_to :user, polymorphic: true
belongs_to :request_for_comment
end