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


53
54
55
56
# File 'app/models/data_release_study_type.rb', line 53

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