module ActiveRecord::AttributeMethods::Dirty::ClassMethods

def partial_writes=(value)

def partial_writes=(value)
  ActiveSupport::Deprecation.warn(<<-MSG.squish)
    `ActiveRecord::Base.partial_writes=` is deprecated and will be removed in Rails 7.1.
    Use `partial_updates=` and `partial_inserts=` instead.
  MSG
  self.partial_updates = self.partial_inserts = value
end