Class: BaitLibraryType
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- BaitLibraryType
- Includes:
- SharedBehaviour::Named
- Defined in:
- app/models/bait_library_type.rb
Overview
Bait libraries come in two types, custom and standard, which can affect costs.
Instance Method Summary collapse
Methods included from SharedBehaviour::Named
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
Instance Method Details
#hide ⇒ Object
20 21 22 23 |
# File 'app/models/bait_library_type.rb', line 20 def hide self.visible = false save! end |