Permalink
Browse files

Merge pull request #10805 from pilaf/master

Fix word order in documentation for with_lock [ci skip]
  • Loading branch information...
2 parents 47f4d8d + 1489e4f commit c71488b62e7834b0fd5989947b4d69260e23d8a4 @steveklabnik steveklabnik 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 c71488b

Please sign in to comment.