Apply automatic rubocop fixes
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
class UserExerciseIntervention < ApplicationRecord
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UserExerciseIntervention < ApplicationRecord
|
||||
belongs_to :user, polymorphic: true
|
||||
belongs_to :intervention
|
||||
belongs_to :exercise
|
||||
@ -7,5 +8,4 @@ class UserExerciseIntervention < ApplicationRecord
|
||||
validates :user, presence: true
|
||||
validates :exercise, presence: true
|
||||
validates :intervention, presence: true
|
||||
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user