mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
fix rebase conflict
This commit is contained in:
parent
69efd2619a
commit
4d2f0e2111
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,8 @@
|
|||
class CallForPapers < ActiveRecord::Base
|
||||
attr_accessible :start_date, :end_date, :hard_deadline, :description, :schedule_changes
|
||||
attr_accessible :start_date, :end_date, :hard_deadline, :description, :schedule_changes, :rating, :rating_desc
|
||||
belongs_to :conference
|
||||
|
||||
validates_presence_of :start_date, :end_date, :hard_deadline
|
||||
validates :rating, :numericality => { :greater_than_or_equal_to => 2, :less_than_or_equal_to => 10 }
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue