Sha256: 8f1d168fdcd2c87aa08bf89e4aa07b23bd53c525eb642e971329de165dd3ef57
Contents?: true
Size: 347 Bytes
Versions: 96
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true module Spree class StateChange < Spree::Base belongs_to :user, optional: true belongs_to :stateful, polymorphic: true, optional: 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
96 entries across 96 versions & 1 rubygems