Class: FacultySponsor

Inherits:
ApplicationRecord show all
Extended by:
Attributable::Association::Target
Includes:
SharedBehaviour::Named
Defined in:
app/models/faculty_sponsor.rb

Defined Under Namespace

Modules: Associations

Instance Method Summary collapse

Methods included from Attributable::Association::Target

default, extended, for_select_association

Methods included from SharedBehaviour::Named

included

Methods inherited from ApplicationRecord

alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Instance Method Details

#count_studiesObject



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

def count_studies
  studies.count
end