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_message-0.1.11 spec/dummy/app/models/patron_type.rb
enju_message-0.0.25 spec/dummy/app/models/patron_type.rb
enju_message-0.1.9 spec/dummy/app/models/patron_type.rb
enju_message-0.0.24 spec/dummy/app/models/patron_type.rb
enju_message-0.1.8 spec/dummy/app/models/patron_type.rb
enju_inter_library_loan-0.0.5 spec/dummy/app/models/patron_type.rb
enju_bookmark-0.0.19 spec/dummy/app/models/patron_type.rb
enju_event-0.0.24 spec/dummy/app/models/patron_type.rb
enju_bookmark-0.0.18 spec/dummy/app/models/patron_type.rb
enju_event-0.0.23 spec/dummy/app/models/patron_type.rb
enju_event-0.1.10 spec/dummy/app/models/patron_type.rb
enju_event-0.1.9 spec/dummy/app/models/patron_type.rb
enju_event-0.0.22 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.47 spec/dummy/app/models/patron_type.rb
enju_event-0.0.21 spec/dummy/app/models/patron_type.rb
enju_event-0.1.8 spec/dummy/app/models/patron_type.rb
enju_message-0.0.23 spec/dummy/app/models/patron_type.rb
enju_message-0.1.7 spec/dummy/app/models/patron_type.rb
enju_circulation-0.0.46 spec/dummy/app/models/patron_type.rb
enju_message-0.0.22 spec/dummy/app/models/patron_type.rb