Sha256: b17c80f1f1c15889bc437e0b57f6c68f696574346f457d99ecbf8c0192c3352e

Contents?: true

Size: 508 Bytes

Versions: 19

Compression:

Stored size: 508 Bytes

Contents

class PatronRelationshipType < ActiveRecord::Base
  attr_accessible :name, :display_name, :note
  include MasterModel
  default_scope :order => 'patron_relationship_types.position'
  has_many :patron_relationships
end

# == Schema Information
#
# Table name: patron_relationship_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_relationship_type.rb
enju_biblio-0.1.0.pre9 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre8 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre7 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre6 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre5 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre4 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre3 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre2 app/models/patron_relationship_type.rb
enju_biblio-0.1.0.pre app/models/patron_relationship_type.rb
enju_biblio-0.0.9 app/models/patron_relationship_type.rb
enju_biblio-0.0.8 app/models/patron_relationship_type.rb
enju_biblio-0.0.7 app/models/patron_relationship_type.rb
enju_biblio-0.0.6 app/models/patron_relationship_type.rb
enju_biblio-0.0.5 app/models/patron_relationship_type.rb
enju_biblio-0.0.4 app/models/patron_relationship_type.rb
enju_biblio-0.0.3 app/models/patron_relationship_type.rb
enju_biblio-0.0.2 app/models/patron_relationship_type.rb
enju_biblio-0.0.1 app/models/patron_relationship_type.rb