Class: BaitLibrary::Supplier

Inherits:
ApplicationRecord show all
Defined in:
app/models/bait_library.rb

Overview

The company or individual who supplies the BaitLibrary

Instance Method Summary collapse

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

#hideObject



28
29
30
31
# File 'app/models/bait_library.rb', line 28

def hide
  self.visible = false
  save!
end