Permalink
Browse files

Change validation to fit renaming of date_time field to date

  • Loading branch information...
1 parent c3577a4 commit c27513bdbd5ba4e8655bf3f726e3a7bda7558613 @keviniano keviniano committed Sep 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/event.rb
View
@@ -10,7 +10,7 @@ class Event < ActiveRecord::Base
validates_presence_of :kase_id
validates_presence_of :event_type_id
validates_presence_of :funding_source_id
- validates_presence_of :date_time
+ validates_presence_of :date
validates_presence_of :duration_in_hours
def customer

0 comments on commit c27513b

Please sign in to comment.