Permalink
Browse files

Fix word order in documentation for with_lock

  • Loading branch information...
1 parent 47f4d8d commit 1489e4f20841b46ebca1ca065c60fb0f2e553e46 @pilaf pilaf committed May 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/locking/pessimistic.rb
@@ -64,7 +64,7 @@ def lock!(lock = true)
end
# Wraps the passed block in a transaction, locking the object
- # before yielding. You pass can the SQL locking clause
+ # before yielding. You can pass the SQL locking clause
# as argument (see <tt>lock!</tt>).
def with_lock(lock = true)
transaction do

0 comments on commit 1489e4f

Please sign in to comment.