Sha256: 8271ddc574c8102bccdbfd1ecaacbf0b5be3381045dd91cac79ca5ac1f7c4949

Contents?: true

Size: 457 Bytes

Versions: 19

Compression:

Stored size: 457 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
#  updated_at   :datetime
#

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre10 app/models/patron_type.rb
enju_biblio-0.1.0.pre9 app/models/patron_type.rb
enju_biblio-0.1.0.pre8 app/models/patron_type.rb
enju_biblio-0.1.0.pre7 app/models/patron_type.rb
enju_biblio-0.1.0.pre6 app/models/patron_type.rb
enju_biblio-0.1.0.pre5 app/models/patron_type.rb
enju_biblio-0.1.0.pre4 app/models/patron_type.rb
enju_biblio-0.1.0.pre3 app/models/patron_type.rb
enju_biblio-0.1.0.pre2 app/models/patron_type.rb
enju_biblio-0.1.0.pre app/models/patron_type.rb
enju_biblio-0.0.9 app/models/patron_type.rb
enju_biblio-0.0.8 app/models/patron_type.rb
enju_biblio-0.0.7 app/models/patron_type.rb
enju_biblio-0.0.6 app/models/patron_type.rb
enju_biblio-0.0.5 app/models/patron_type.rb
enju_biblio-0.0.4 app/models/patron_type.rb
enju_biblio-0.0.3 app/models/patron_type.rb
enju_biblio-0.0.2 app/models/patron_type.rb
enju_biblio-0.0.1 app/models/patron_type.rb