Sha256: 1bb8d05acb1599c5bda3973b6c392b379f7e7ab6c86ee1744f4b166e59914132

Contents?: true

Size: 534 Bytes

Versions: 2

Compression:

Stored size: 534 Bytes

Contents

class MessageTransition < ActiveRecord::Base
  include Statesman::Adapters::ActiveRecordTransition

  
  belongs_to :message, inverse_of: :message_transitions
  #attr_accessible :to_state, :sort_key, :metadata
end

# == Schema Information
#
# Table name: message_transitions
#
#  id         :integer          not null, primary key
#  to_state   :string(255)
#  metadata   :text             default("{}")
#  sort_key   :integer
#  message_id :integer
#  created_at :datetime         not null
#  updated_at :datetime         not null
#

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_message-0.1.14.pre23 app/models/message_transition.rb
enju_message-0.1.14.pre22 app/models/message_transition.rb