Sha256: d43a582816659ef01d6c15e3f155ca960c6420f6e360fb1e5dea2530473244a5

Contents?: true

Size: 493 Bytes

Versions: 32

Compression:

Stored size: 493 Bytes

Contents

class PatronType < ActiveRecord::Base
  attr_accessible :name, :display_name, :note
  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         not null
#  updated_at   :datetime         not null
#

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre42 app/models/patron_type.rb
enju_biblio-0.1.0.pre41 app/models/patron_type.rb
enju_biblio-0.1.0.pre40 app/models/patron_type.rb
enju_biblio-0.1.0.pre39 app/models/patron_type.rb
enju_biblio-0.1.0.pre38 app/models/patron_type.rb
enju_biblio-0.1.0.pre37 app/models/patron_type.rb
enju_biblio-0.1.0.pre36 app/models/patron_type.rb
enju_biblio-0.1.0.pre35 app/models/patron_type.rb
enju_biblio-0.1.0.pre34 app/models/patron_type.rb
enju_biblio-0.1.0.pre33 app/models/patron_type.rb
enju_biblio-0.1.0.pre32 app/models/patron_type.rb
enju_biblio-0.1.0.pre31 app/models/patron_type.rb
enju_biblio-0.1.0.pre30 app/models/patron_type.rb
enju_biblio-0.1.0.pre29 app/models/patron_type.rb
enju_biblio-0.1.0.pre28 app/models/patron_type.rb
enju_biblio-0.1.0.pre27 app/models/patron_type.rb
enju_biblio-0.1.0.pre26 app/models/patron_type.rb
enju_biblio-0.1.0.pre25 app/models/patron_type.rb
enju_biblio-0.1.0.pre24 app/models/patron_type.rb
enju_biblio-0.1.0.pre23 app/models/patron_type.rb