Module: DataReleaseStudyType::Associations

Defined in:
app/models/data_release_study_type.rb

Overview

rubocop:todo Style/Documentation

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


49
50
51
52
# File 'app/models/data_release_study_type.rb', line 49

def self.included(base)
  base.validates_presence_of :data_release_study_type_id
  base.belongs_to :data_release_study_type
end