Merge pull request #197 from ChrisBr/remove_cfp_harddeadline

Removes column hard_deadline from call for papers
This commit is contained in:
Christian Bruckmayer 2014-06-04 18:36:54 +02:00
commit 8cc77338b5
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 }
##