Sha256: 5e233cc542f4bef14df97c1ae5c92bce921cb91212552c3653ce1b388725a631

Contents?: true

Size: 547 Bytes

Versions: 5

Compression:

Stored size: 547 Bytes

Contents

class IsbnRecordAndManifestation < ApplicationRecord
  belongs_to :isbn_record
  belongs_to :manifestation
  validates :isbn_record_id, uniqueness: {scope: :manifestation_id}
  acts_as_list
end

# == Schema Information
#
# Table name: isbn_record_and_manifestations
#
#  id               :bigint           not null, primary key
#  isbn_record_id   :bigint           not null
#  manifestation_id :bigint           not null
#  position         :integer
#  created_at       :datetime         not null
#  updated_at       :datetime         not null
#

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_biblio-0.3.18 app/models2/isbn_record_and_manifestation.rb
enju_biblio-0.3.17 app/models2/isbn_record_and_manifestation.rb
enju_biblio-0.4.0.rc.1 app/models/isbn_record_and_manifestation.rb
enju_biblio-0.4.0.beta.2 app/models/isbn_record_and_manifestation.rb
enju_biblio-0.4.0.beta.1 app/models/isbn_record_and_manifestation.rb