Merge pull request #42 from differentreality/proposal_event_types

Show length of event types in new proposal drop down
This commit is contained in:
Henne Vogelsang 2013-09-04 02:19:18 -07:00
commit 406b7dcd2d
3 changed files with 18 additions and 1 deletions

View file

@ -2,4 +2,6 @@ class EventType < ActiveRecord::Base
attr_accessible :title, :length, :minimum_abstract_length, :maximum_abstract_length
belongs_to :conference
validates :length, :numericality => {:greater_than => 0}
end