From 5a072ba317aa180b3622145003fb3ed8b93d226f Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Tue, 7 Mar 2017 00:09:55 +0200 Subject: Remove ability update locking_column value --- guides/source/active_record_querying.md | 3 --- 1 file changed, 3 deletions(-) (limited to 'guides') diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 31865ea375..2902c5d677 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -953,9 +953,6 @@ class Client < ApplicationRecord end ``` -NOTE: Please note that the optimistic locking will be ignored if you update the -locking column's value. - ### Pessimistic Locking Pessimistic locking uses a locking mechanism provided by the underlying database. Using `lock` when building a relation obtains an exclusive lock on the selected rows. Relations using `lock` are usually wrapped inside a transaction for preventing deadlock conditions. -- cgit v1.2.3