Module: FacultySponsor::Associations

Defined in:
app/models/faculty_sponsor.rb

Overview

rubocop:todo Style/Documentation

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


23
24
25
26
# File 'app/models/faculty_sponsor.rb', line 23

def self.included(base)
  base.validates_presence_of :faculty_sponsor
  base.belongs_to :faculty_sponsor
end