Module: Models::SearchableViewWithRmaItems

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

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:



29
30
31
# File 'app/concerns/models/searchable_view_with_rma_items.rb', line 29

scope :contains_rma_item_ids, lambda { |*rma_item_ids|
  where(rma_item_sql_check, clean_array_params(rma_item_ids))
}