chore(rubocop): giganto rubocop commit.

muahahahah
This commit is contained in:
Joseph Mastey
2017-12-05 18:46:21 -06:00
parent 284cd8811c
commit 9902345291
120 changed files with 743 additions and 635 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
# frozen_string_literal: true
class PaidTimeOff < ApplicationRecord
belongs_to :user
has_many :schedule, :foreign_key => :user_id, :primary_key => :user_id, :dependent => :destroy
has_many :schedule, foreign_key: :user_id, primary_key: :user_id, dependent: :destroy
def sick_days_remaining
self.sick_days_earned - self.sick_days_taken