Class: Spree::StateChange

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/spree/state_change.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object


7
8
9
# File 'app/models/spree/state_change.rb', line 7

def <=>(other)
  created_at <=> other.created_at
end

#assign_userObject


11
12
13
# File 'app/models/spree/state_change.rb', line 11

def assign_user
  true   # don't stop the filters
end