Sha256: 579f8a24b363a63461e63f5794baf5cf4ef56d6cd7203448d08ed888eb98c316

Contents?: true

Size: 633 Bytes

Versions: 10

Compression:

Stored size: 633 Bytes

Contents

class SubjectHeadingType < ActiveRecord::Base
  attr_accessible :name, :display_name, :note
  include MasterModel
  #has_many_polymorphs :subjects, :from => [:concepts, :places], :through => :subject_heading_type_has_subjects
  has_many :subject_heading_type_has_subjects
  has_many :subjects, :through => :subject_heading_type_has_subjects
end

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

10 entries across 10 versions & 2 rubygems

Version Path
enju_trunk_subject-1.0.4 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre12 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre11 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre10 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre9 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre8 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre7 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre6 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre5 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre4 app/models/subject_heading_type.rb