Module: HasFilters
- Extended by:
- ActiveSupport::Concern
- Included in:
- LimitsValidator, SequencingKitBoxBarcodeValidator, WellCombinationsValidator, WellPositionsValidator
- Defined in:
- app/validators/has_filters.rb
Overview
Concern for filtering records currently will filter out records which are marked for destruction could be extended to filter out other records
Instance Method Summary collapse
-
#exclude_marked_for_destruction ⇒ Boolean
records which are marked for destruction should be excluded from the validation.
Instance Method Details
#exclude_marked_for_destruction ⇒ Boolean
records which are marked for destruction should be excluded from the validation
11 12 13 |
# File 'app/validators/has_filters.rb', line 11 def exclude_marked_for_destruction @exclude_marked_for_destruction ||= [:exclude_marked_for_destruction] || false end |