Methods

Instance Public methods

partial_writes()

# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 31
        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

partial_writes=(value)

# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 47
        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

partial_writes?()

# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 39
        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