Sha256: 80c4efa97dc87baf49c547bb25025772b84fb733ce541766f37c61e9362dc6ac

Contents?: true

Size: 547 Bytes

Versions: 5

Compression:

Stored size: 547 Bytes

Contents

class IssnRecordAndManifestation < ApplicationRecord
  belongs_to :issn_record
  belongs_to :manifestation
  acts_as_list
  validates :issn_record_id, uniqueness: {scope: :manifestation_id}
end

# == Schema Information
#
# Table name: issn_record_and_manifestations
#
#  id               :bigint           not null, primary key
#  issn_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/issn_record_and_manifestation.rb
enju_biblio-0.3.17 app/models2/issn_record_and_manifestation.rb
enju_biblio-0.4.0.rc.1 app/models/issn_record_and_manifestation.rb
enju_biblio-0.4.0.beta.2 app/models/issn_record_and_manifestation.rb
enju_biblio-0.4.0.beta.1 app/models/issn_record_and_manifestation.rb