Sha256: 72cdd65780c8fd4b9ba16eb9b346b1080aff93a8ab8fc1bf44e832a84e1ec09f

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

# frozen_string_literal: true

class Author < ActiveRecord::Base
  if ENV['AR_VERSION'].to_f >= 7.1
    has_many :composite_books, query_constraints: [:id, :author_id], inverse_of: :author
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-import-1.8.1 test/models/author.rb
activerecord-import-1.8.0 test/models/author.rb