Class: BaitLibrary::Supplier
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- BaitLibrary::Supplier
- 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
Instance Method Details
#hide ⇒ Object
28 29 30 31 |
# File 'app/models/bait_library.rb', line 28 def hide self.visible = false save! end |