Added validation on subject. Fixed failed save. #1135

This commit is contained in:
Eric Davis
2008-05-20 23:34:36 -07:00
parent bebb2ff15b
commit bd5bb6d1c5
6 changed files with 12 additions and 4 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
class Deliverable < ActiveRecord::Base
unloadable
validates_presence_of :subject
belongs_to :project
attr_accessor :overhead