diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-03-07 00:09:55 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-03-16 10:42:33 +0200 |
commit | 5a072ba317aa180b3622145003fb3ed8b93d226f (patch) | |
tree | ada739f4b8106ca0a6cd5cc214622a241d586a7d /guides/source | |
parent | f38de5a7b4ea56c8f9f9138248128339a53a1b1f (diff) | |
download | rails-5a072ba317aa180b3622145003fb3ed8b93d226f.tar.gz rails-5a072ba317aa180b3622145003fb3ed8b93d226f.tar.bz2 rails-5a072ba317aa180b3622145003fb3ed8b93d226f.zip |
Remove ability update locking_column value
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_querying.md | 3 |
1 files changed, 0 insertions, 3 deletions
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. |