Sha256: 6cd141413936b4e11e64ceab497ca56f809c0003dad9cc26ea5244446a3e543d
Contents?: true
Size: 315 Bytes
Versions: 42
Compression:
Stored size: 315 Bytes
Contents
# frozen_string_literal: true 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
42 entries across 42 versions & 2 rubygems