Sha256: e8dd53aba31a0fedeb5c84762cb7c32423f796459083dcc79b1696950d7679e6

Contents?: true

Size: 630 Bytes

Versions: 4

Compression:

Stored size: 630 Bytes

Contents

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

  
  belongs_to :message_request, inverse_of: :message_request_transitions
  # attr_accessible :to_state, :sort_key, :metadata
end

# == Schema Information
#
# Table name: message_request_transitions
#
#  id                 :integer          not null, primary key
#  to_state           :string
#  metadata           :text             default({})
#  sort_key           :integer
#  message_request_id :integer
#  created_at         :datetime
#  updated_at         :datetime
#  most_recent        :boolean          not null
#

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enju_message-0.3.1 app/models/message_request_transition.rb
enju_message-0.3.0 app/models/message_request_transition.rb
enju_message-0.3.0.rc.1 app/models/message_request_transition.rb
enju_message-0.3.0.beta.1 app/models/message_request_transition.rb