Added Subscription model to send emails
This commit is contained in:
parent
ac25561523
commit
41fc21f7f4
5 changed files with 23 additions and 2 deletions
5
app/models/subscription.rb
Normal file
5
app/models/subscription.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class Subscription < ActiveRecord::Base
|
||||
attr_accessible :user_id, :conference_id
|
||||
belongs_to :conference
|
||||
belongs_to :user
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue