Sha256: b83ea874c5031c8b572d694ebdbae5a87ece1ba6643c472ff6dac67c6757a096

Contents?: true

Size: 585 Bytes

Versions: 9

Compression:

Stored size: 585 Bytes

Contents

class SubjectHeadingType < ActiveRecord::Base
  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

9 entries across 9 versions & 1 rubygems

Version Path
enju_subject-0.0.13 app/models/subject_heading_type.rb
enju_subject-0.0.12 app/models/subject_heading_type.rb
enju_subject-0.0.10 app/models/subject_heading_type.rb
enju_subject-0.0.9 app/models/subject_heading_type.rb
enju_subject-0.0.8 app/models/subject_heading_type.rb
enju_subject-0.0.7 app/models/subject_heading_type.rb
enju_subject-0.0.6 app/models/subject_heading_type.rb
enju_subject-0.0.5 app/models/subject_heading_type.rb
enju_subject-0.0.4 app/models/subject_heading_type.rb