Module: DataReleaseStudyType::Associations

Defined in:
app/models/data_release_study_type.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


32
33
34
35
# File 'app/models/data_release_study_type.rb', line 32

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