We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99d3b52 + a60039b commit e2c522bCopy full SHA for e2c522b
activerecord/lib/active_record/locking/optimistic.rb
@@ -14,7 +14,7 @@ module Locking
14
# == Usage
15
#
16
# Active Record supports optimistic locking if the +lock_version+ field is present. Each update to the
17
- # record increments the +lock_version+ column and the locking facilities ensure that records instantiated twice
+ # record increments the integer column +lock_version+ and the locking facilities ensure that records instantiated twice
18
# will let the last one saved raise a +StaleObjectError+ if the first was also updated. Example:
19
20
# p1 = Person.find(1)
0 commit comments