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

alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Class Method Details

.unallocatedObject



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

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