Skip to content

Commit

Permalink
use ApplicationRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
kumojima committed Nov 15, 2024
1 parent 761e956 commit 9a090a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/trashed_issue.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class TrashedIssue < ActiveRecord::Base
class TrashedIssue < defined?(ApplicationRecord) == 'constant' ? ApplicationRecord : ActiveRecord::Base
belongs_to :project
has_many :trashed_custom_values, dependent: :destroy
belongs_to :deleted_by, class_name: 'User'
Expand Down

0 comments on commit 9a090a6

Please sign in to comment.