Soc/app/models/exercise.rb

5 lines
84 B
Ruby

class Exercise < ApplicationRecord
belongs_to :type
belongs_to :diary_entry
end