Adds migrations for checkboxes of splash components

This commit is contained in:
Gopesh Tulsyan 2014-06-17 20:25:35 +05:30
parent 3cf41b51c2
commit 6c5e04f513
7 changed files with 57 additions and 23 deletions

View file

@ -1,7 +1,7 @@
class CallForPapers < ActiveRecord::Base
attr_accessible :start_date, :end_date,
:description, :schedule_changes, :rating,
:schedule_public
:schedule_public, :include_cfp_in_splash
belongs_to :conference
validates_presence_of :start_date, :end_date