Sha256: 11f1491ddc04372f67d0de0e0420a0923b6296984c3c1a5e27c73e93c38dab8e
Contents?: true
Size: 339 Bytes
Versions: 6
Compression:
Stored size: 339 Bytes
Contents
class StateEvent < ActiveRecord::Base belongs_to :user belongs_to :order def <=>(other) created_at <=> other.created_at end def before_create if UserSession.activated? && current_user_session = UserSession.find self.user_id ||= current_user_session.user.id end true # don't stop the filters end end
Version data entries
6 entries across 6 versions & 2 rubygems