Sha256: c402696909468b24aaac82a92c36b52cb92e40c6ae3b7872338d2f87d4c4ca74
Contents?: true
Size: 447 Bytes
Versions: 5
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true class DlKeyedBelongsTo < ActiveRecord::Base self.primary_key = "belongs_key" belongs_to :destroy_async_parent, dependent: :destroy_async, foreign_key: :destroy_async_parent_id, primary_key: :parent_id, class_name: "DestroyAsyncParent" belongs_to :destroy_async_parent_soft_delete, dependent: :destroy_async, ensuring_owner_was: :deleted?, class_name: "DestroyAsyncParentSoftDelete" end
Version data entries
5 entries across 5 versions & 1 rubygems