Module: FacultySponsor::Associations

Defined in:
app/models/faculty_sponsor.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


18
19
20
21
# File 'app/models/faculty_sponsor.rb', line 18

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