Sha256: d7d07f5eac5095552bb02e26f2d9b1f509f028aaa4f93f23dde714da0d5b7f36
Contents?: true
Size: 296 Bytes
Versions: 20
Compression:
Stored size: 296 Bytes
Contents
module Spree class StateChange < ActiveRecord::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
20 entries across 20 versions & 2 rubygems