Use only new hash syntax
This commit is contained in:
parent
3901973fd6
commit
5289f41eb5
72 changed files with 179 additions and 181 deletions
|
|
@ -5,7 +5,7 @@ class CallForPapers < ActiveRecord::Base
|
|||
belongs_to :conference
|
||||
|
||||
validates_presence_of :start_date, :end_date
|
||||
validates :rating, :numericality => { :greater_than_or_equal_to => 0, :less_than_or_equal_to => 10 }
|
||||
validates :rating, numericality: { greater_than_or_equal_to: 0, less_than_or_equal_to: 10 }
|
||||
|
||||
##
|
||||
# Calculates how many weeks the call for paper is.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue