Removes column hard_deadline from call for papers

This commit is contained in:
Chrisbr 2014-06-04 16:47:50 +02:00
parent 25a1c116fd
commit c75471c0e4
7 changed files with 13 additions and 17 deletions

View file

@ -1,10 +1,10 @@
class CallForPapers < ActiveRecord::Base
attr_accessible :start_date, :end_date, :hard_deadline,
attr_accessible :start_date, :end_date,
:description, :schedule_changes, :rating,
:schedule_public
belongs_to :conference
validates_presence_of :start_date, :end_date, :hard_deadline
validates_presence_of :start_date, :end_date
validates :rating, :numericality => { :greater_than_or_equal_to => 0, :less_than_or_equal_to => 10 }
##