mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
095878c6e4
Update activerecord/test/activejob/destroy_association_async_test.rb Co-authored-by: Ryuta Kamizono <kamipo@gmail.com>
12 lines
294 B
Ruby
12 lines
294 B
Ruby
# frozen_string_literal: true
|
|
|
|
class EssayDestroyAsync < ActiveRecord::Base
|
|
self.table_name = "essays"
|
|
belongs_to :book, dependent: :destroy_async, class_name: "BookDestroyAsync"
|
|
end
|
|
|
|
class LongEssayDestroyAsync < EssayDestroyAsync
|
|
end
|
|
|
|
class ShortEssayDestroyAsync < EssayDestroyAsync
|
|
end
|