method

update_counters_with_lock

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::Locking::Optimistic::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

update_counters_with_lock(id, counters) public

Make sure the lock version column gets updated when counters are updated.

Show source
Register or log in to add new notes.