Adding social events, which can be used on the registration page
This commit is contained in:
parent
ba721772b9
commit
3933e89a9c
14 changed files with 112 additions and 6 deletions
6
app/models/social_event.rb
Normal file
6
app/models/social_event.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class SocialEvent < ActiveRecord::Base
|
||||
attr_accessible :title, :description, :date
|
||||
|
||||
belongs_to :conference
|
||||
has_and_belongs_to_many :registrations
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue