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

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#count_studiesObject


13
14
15
# File 'app/models/faculty_sponsor.rb', line 13

def count_studies
  studies.count
end