Module: Spree::HasListPosition

Extended by:
ActiveSupport::Concern
Included in:
Catalog, Collection, CommissionRate, DeliveryOriginGroup, DeliveryProfile, Market, OrderRoutingRule, PaymentMethod, PriceList, SellerRequirement
Defined in:
app/models/concerns/spree/has_list_position.rb

Overview

Shared list-position ordering for models using acts_as_list.

Position is the merchant-facing precedence; id breaks ties so two rows sharing a position resolve the same way on every read.