working way to update your scheduled PTO
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
class Schedule < ActiveRecord::Base
|
||||
attr_accessible :date_begin, :date_end, :event_desc, :event_name, :event_type, :user_id
|
||||
belongs_to :paid_time_off
|
||||
|
||||
validates_presence_of :date_begin, :date_end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user