upgrade(rails 5): add application record
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class Schedule < ActiveRecord::Base
|
||||
class Schedule < ApplicationRecord
|
||||
belongs_to :paid_time_off
|
||||
|
||||
validates_presence_of :date_begin, :date_end, :event_desc, :event_name, :event_type
|
||||
|
||||
Reference in New Issue
Block a user