Class: ProjectManager

Inherits:
ApplicationRecord show all
Extended by:
Attributable::Association::Target
Defined in:
app/models/project_manager.rb

Defined Under Namespace

Modules: Associations

Class Method Summary collapse

Methods included from Attributable::Association::Target

default, extended, for_select_association

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

Class Method Details

.unallocatedObject


4
5
6
# File 'app/models/project_manager.rb', line 4

def self.unallocated
  find_or_create_by!(name: 'Unallocated')
end