instance method
partial_writes
Ruby on Rails 7.0.10
Since v7.0.10 Last seen in v7.0.10Signature
partial_writes()
No documentation comment.
Source
# 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
Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 31
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AttributeMethods::Dirty::ClassMethods