parent
a620950383
commit
ed55e2bf3a
25 changed files with 529 additions and 131 deletions
7
app/models/registration_period.rb
Normal file
7
app/models/registration_period.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class RegistrationPeriod < ActiveRecord::Base
|
||||
attr_accessible :description, :start_date, :end_date
|
||||
|
||||
validates :start_date, :end_date, presence: true
|
||||
|
||||
belongs_to :conference
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue