module ActiveRecord::AttributeMethods::Dirty::ClassMethods

def partial_writes?

def partial_writes?
  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
  partial_updates? && partial_inserts?
end