instance method partial_writes=

Ruby on Rails 7.0.10

Since v7.0.10 Last seen in v7.0.10

Signature

partial_writes=(value)

No documentation comment.

Parameters

value req
Source
# 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

Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 47 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::AttributeMethods::Dirty::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close