Sha256: aec323d133a84047488a297eebdbdf98a4fa57990636b50c14f580b6da35a109
Contents?: true
Size: 326 Bytes
Versions: 6
Compression:
Stored size: 326 Bytes
Contents
module Spree class StateChange < ActiveRecord::Base belongs_to :user, :class_name => "Spree::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
6 entries across 6 versions & 1 rubygems