Sha256: 58729153e848abb21e861aecbf142e9dd2eb4e8afa366973f14d0ac6e269bd13
Contents?: true
Size: 550 Bytes
Versions: 11
Compression:
Stored size: 550 Bytes
Contents
class Manifestation < ActiveRecord::Base has_many :creates, :dependent => :destroy, :foreign_key => 'work_id' has_many :creators, :through => :creates, :source => :patron has_many :produces, :dependent => :destroy, :foreign_key => 'manifestation_id' has_many :publishers, :through => :produces, :source => :patron has_many :work_has_subjects, :foreign_key => 'work_id', :dependent => :destroy has_many :subjects, :through => :work_has_subjects belongs_to :language searchable do integer :subject_ids, :multiple => true end end
Version data entries
11 entries across 11 versions & 1 rubygems