Sha256: 9d0f6722d0974ac43bdc95f6ceba3002f4daf8bd732b0b2a59e9499ae49ea64e

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

# frozen_string_literal: true

class Tag < ActiveRecord::Base
  self.primary_keys = :tag_id, :publisher_id unless ENV["SKIP_COMPOSITE_PK"]
  has_many :books, inverse_of: :tag
  has_many :tag_aliases, inverse_of: :tag
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-import-1.6.0 test/models/tag.rb
activerecord-import-1.5.1 test/models/tag.rb
activerecord-import-1.5.0 test/models/tag.rb
activerecord-import-1.4.1 test/models/tag.rb