Sha256: f423f869390e26a94ca9e2f96f870ebdeb7aa5f79fe496c6fd345dd52cade337

Contents?: true

Size: 504 Bytes

Versions: 56

Compression:

Stored size: 504 Bytes

Contents

class CirculationStatus < ActiveRecord::Base
  include MasterModel
  default_scope :order => "position"
  scope :available_for_checkout, where(:name => 'Available On Shelf')
  has_many :items
  attr_protected :name
end

# == Schema Information
#
# Table name: circulation_statuses
#
#  id           :integer         not null, primary key
#  name         :string(255)     not null
#  display_name :text
#  note         :text
#  position     :integer
#  created_at   :datetime
#  updated_at   :datetime
#

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
enju_bookmark-0.0.18 spec/dummy/app/models/circulation_status.rb
enju_bookmark-0.0.17 spec/dummy/app/models/circulation_status.rb
enju_bookmark-0.0.16 spec/dummy/app/models/circulation_status.rb
enju_bookmark-0.0.15 spec/dummy/app/models/circulation_status.rb
enju_bookmark-0.0.14 spec/dummy/app/models/circulation_status.rb
enju_bookmark-0.0.13 spec/dummy/app/models/circulation_status.rb
enju_circulation-0.0.43 app/models/circulation_status.rb
enju_bookmark-0.0.12 spec/dummy/app/models/circulation_status.rb
enju_circulation-0.0.42 app/models/circulation_status.rb
enju_circulation-0.0.41 app/models/circulation_status.rb
enju_circulation-0.0.40 app/models/circulation_status.rb
enju_bookmark-0.0.11 spec/dummy/app/models/circulation_status.rb
enju_circulation-0.0.39 app/models/circulation_status.rb
enju_bookmark-0.0.10 spec/dummy/app/models/circulation_status.rb
enju_bookmark-0.0.9 spec/dummy/app/models/circulation_status.rb
enju_circulation-0.0.38 app/models/circulation_status.rb
enju_circulation-0.0.37 app/models/circulation_status.rb
enju_circulation-0.0.36 app/models/circulation_status.rb
enju_circulation-0.0.35 app/models/circulation_status.rb
enju_circulation-0.0.34 app/models/circulation_status.rb