Sha256: 9337970e07f15215601854bffd644fbb53235233759ffde0408b3d1535728621

Contents?: true

Size: 543 Bytes

Versions: 6

Compression:

Stored size: 543 Bytes

Contents

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

  
  belongs_to :reserve, inverse_of: :reserve_transitions
  # attr_accessible :to_state, :sort_key, :metadata
end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_circulation-0.3.3 app/models/reserve_transition.rb
enju_circulation-0.3.2 app/models/reserve_transition.rb
enju_circulation-0.3.1 app/models/reserve_transition.rb
enju_circulation-0.3.0 app/models/reserve_transition.rb
enju_circulation-0.3.0.rc.1 app/models/reserve_transition.rb
enju_circulation-0.3.0.beta.1 app/models/reserve_transition.rb