Sha256: 1debf4f87fe3c7a4a62e1bed31d5d7c86e2bd80b30ef39c91cb8b5d340a3c31f

Contents?: true

Size: 411 Bytes

Versions: 146

Compression:

Stored size: 411 Bytes

Contents

class PatronType < ActiveRecord::Base
  include MasterModel
  default_scope :order => "patron_types.position"
  has_many :patrons
end

# == Schema Information
#
# Table name: patron_types
#
#  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

146 entries across 146 versions & 6 rubygems

Version Path
enju_event-0.1.4 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.32 spec/dummy/app/models/patron_type.rb
enju_message-0.1.0 spec/dummy/app/models/patron_type.rb
enju_event-0.1.3 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.31 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.30 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.29 spec/dummy/app/models/patron_type.rb
enju_message-0.0.18 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.28 spec/dummy/app/models/patron_type.rb
enju_message-0.0.17 spec/dummy/app/models/patron_type.rb
enju_message-0.0.16 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.27 spec/dummy/app/models/patron_type.rb
enju_message-0.0.15 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.26 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.25 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.24 spec/dummy/app/models/patron_type.rb
enju_event-0.0.15 spec/dummy/app/models/patron_type.rb
enju_event-0.0.14 spec/dummy/app/models/patron_type.rb
enju_event-0.0.13 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.23 spec/dummy/app/models/patron_type.rb