Module: Models::SearchableViewWithRmaItems

Extended by:
ActiveSupport::Concern
Included in:
ViewRma
Defined in:
app/concerns/models/searchable_view_with_rma_items.rb

Overview

ActiveSupport::Concern mixin: searchable view with rma items.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.contains_rma_item_idsActiveRecord::Relation<Models::SearchableViewWithRmaItems>

A relation of Models::SearchableViewWithRmaItems that are contains rma item ids. Active Record Scope

Returns:

See Also:



32
33
34
# File 'app/concerns/models/searchable_view_with_rma_items.rb', line 32

scope :contains_rma_item_ids, ->(*rma_item_ids) {
  where(rma_item_sql_check, clean_array_params(rma_item_ids))
}