Rails 7+: primary_abstract_class recommendation (#32909)

This commit is contained in:
Shlee 2024-11-15 15:37:30 +00:00 committed by GitHub
parent f1ef7b5b43
commit 34d7c9edae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true primary_abstract_class
include Remotable include Remotable