Sha256: 1331d52e5d8b7813eeff2d34d73c1744671dde8d9cb26aa2e5a4be99b0006f47
Contents?: true
Size: 284 Bytes
Versions: 43
Compression:
Stored size: 284 Bytes
Contents
module Spree class StateChange < Spree::Base belongs_to :user belongs_to :stateful, polymorphic: true before_create :assign_user def <=>(other) created_at <=> other.created_at end def assign_user true # don't stop the filters end end end
Version data entries
43 entries across 43 versions & 1 rubygems