Sha256: d170fcace504d4b47d06006dc64a2b2f249146589a54c897ef45ab488629d48b

Contents?: true

Size: 631 Bytes

Versions: 8

Compression:

Stored size: 631 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

8 entries across 8 versions & 1 rubygems

Version Path
enju_subject-0.1.0.pre3 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre2 app/models/subject_heading_type.rb
enju_subject-0.1.0.pre app/models/subject_heading_type.rb
enju_subject-0.0.18 app/models/subject_heading_type.rb
enju_subject-0.0.17 app/models/subject_heading_type.rb
enju_subject-0.0.16 app/models/subject_heading_type.rb
enju_subject-0.0.15 app/models/subject_heading_type.rb
enju_subject-0.0.14 app/models/subject_heading_type.rb