8 lines
232 B
8 lines
232 B
6 years ago
|
class EcTrainingSubitem < ApplicationRecord
|
||
|
belongs_to :ec_training_objective
|
||
|
|
||
|
has_many :ec_requirement_vs_objectives, foreign_key: :ec_training_objective_id, dependent: :destroy
|
||
|
|
||
|
validates :content, presence: true
|
||
|
end
|