aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-12-30 17:00:40 +0100
committerRobin Dupret <robin.dupret@gmail.com>2014-12-30 17:00:40 +0100
commit20ea1a2adf85ef33496fda879e565f7ee72456e9 (patch)
tree2966330e14f789be9bca4105bb097c5a0617c179 /activerecord
parent0c937b6d1ef2a1d6765cdf9789a72e3dc70e23e8 (diff)
downloadrails-20ea1a2adf85ef33496fda879e565f7ee72456e9.tar.gz
rails-20ea1a2adf85ef33496fda879e565f7ee72456e9.tar.bz2
rails-20ea1a2adf85ef33496fda879e565f7ee72456e9.zip
Tiny documentation fixes [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/locking/optimistic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/locking/optimistic.rb b/activerecord/lib/active_record/locking/optimistic.rb
index 7bca38c910..9f053453bd 100644
--- a/activerecord/lib/active_record/locking/optimistic.rb
+++ b/activerecord/lib/active_record/locking/optimistic.rb
@@ -11,7 +11,7 @@ module ActiveRecord
#
# == Usage
#
- # Active Records support optimistic locking if the field +lock_version+ is present. Each update to the
+ # Active Record supports optimistic locking if the +lock_version+ field is present. Each update to the
# record increments the +lock_version+ column and the locking facilities ensure that records instantiated twice
# will let the last one saved raise a +StaleObjectError+ if the first was also updated. Example:
#