Update bundle (with newest rubocop version) and fix offenses
This commit is contained in:
@ -4,8 +4,4 @@ class UserExerciseIntervention < ApplicationRecord
|
||||
belongs_to :user, polymorphic: true
|
||||
belongs_to :intervention
|
||||
belongs_to :exercise
|
||||
|
||||
validates :user, presence: true
|
||||
validates :exercise, presence: true
|
||||
validates :intervention, presence: true
|
||||
end
|
||||
|
Reference in New Issue
Block a user