Module: Transfer::TransfersBySchema
- Included in:
- BetweenPlates, FromPlateToTube
- Defined in:
- app/models/transfer/transfers_by_schema.rb
Overview
The transfers are described in some manner, like direct transfers of one well to the same well on another plate.
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/models/transfer/transfers_by_schema.rb', line 6 def self.included(base) base.class_eval do serialize :transfers_hash alias_attribute :transfers, :transfers_hash validates :transfers_hash, presence: true, allow_blank: false end end |