Sha256: ad3a685ff00a9b2d910a8c9a6b2d8da2abd947a3955e6b109a3e9b43392d29c7

Contents?: true

Size: 143 Bytes

Versions: 14

Compression:

Stored size: 143 Bytes

Contents

class StateEvent < ActiveRecord::Base
  belongs_to :user
  belongs_to :order
  
  def <=>(other)
    created_at <=> other.created_at
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 app/models/state_event.rb
spree-0.8.4 app/models/state_event.rb
spree-0.8.5 app/models/state_event.rb
spree-0.4.1 app/models/state_event.rb
spree-0.4.0 app/models/state_event.rb
spree-0.5.0 app/models/state_event.rb
spree-0.5.1 app/models/state_event.rb
spree-0.6.0 app/models/state_event.rb
spree-0.7.0 app/models/state_event.rb
spree-0.7.1 app/models/state_event.rb
spree-0.8.0 app/models/state_event.rb
spree-0.8.1 app/models/state_event.rb
spree-0.8.2 app/models/state_event.rb
spree-0.8.3 app/models/state_event.rb