Files
codeocean/app/models/user_exercise_intervention.rb
Sebastian Serth 977fa4539e Check polymorphic type in validations
* Previously, some models had "duplicated" `belongs_to` associations, which were now removed (and replaced by the `include Creation`).
2023-08-24 19:32:06 +02:00

8 lines
155 B
Ruby

# frozen_string_literal: true
class UserExerciseIntervention < ApplicationRecord
include Creation
belongs_to :intervention
belongs_to :exercise
end