aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-06-20 07:59:36 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-06-20 07:59:36 +0000
commitb5d264effae63c36f8daed0eba4c3831e55df42e (patch)
tree7a2557b86b084108773a2c12a879e0047fd2cb78 /activerecord
parent722e0b6a8bb62226437e466b5a98356d026b05f5 (diff)
downloadrails-b5d264effae63c36f8daed0eba4c3831e55df42e.tar.gz
rails-b5d264effae63c36f8daed0eba4c3831e55df42e.tar.bz2
rails-b5d264effae63c36f8daed0eba4c3831e55df42e.zip
r4667@asus: jeremy | 2006-06-20 00:59:15 -0700
tpyo git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 1209039a6c..e0bd849365 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,6 +1,6 @@
*SVN*
-* Row locking. Provide a locking clause with the :lock finder option or true for the default "FOR UPDATE". Use the #lock method to obtain a row lock on a single reload (reloads the record with :lock => true). [Shugo Maeda]
+* Row locking. Provide a locking clause with the :lock finder option or true for the default "FOR UPDATE". Use the #lock! method to obtain a row lock on a single record (reloads the record with :lock => true). [Shugo Maeda]
# Obtain an exclusive lock on person 1 so we can safely increment visits.
Person.transaction do
# select * from people where id=1 for update