diff options
author | Pedro Fayolle <pfayolle@gmail.com> | 2013-05-30 17:38:55 -0300 |
---|---|---|
committer | Pedro Fayolle <pfayolle@gmail.com> | 2013-05-30 17:38:55 -0300 |
commit | 1489e4f20841b46ebca1ca065c60fb0f2e553e46 (patch) | |
tree | eef91a7ed921c5aa9f6f6056206be424db76e9ff /activerecord | |
parent | 47f4d8d513ed5bb4516cd1175889fcabfb361263 (diff) | |
download | rails-1489e4f20841b46ebca1ca065c60fb0f2e553e46.tar.gz rails-1489e4f20841b46ebca1ca065c60fb0f2e553e46.tar.bz2 rails-1489e4f20841b46ebca1ca065c60fb0f2e553e46.zip |
Fix word order in documentation for with_lock
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/locking/pessimistic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/locking/pessimistic.rb b/activerecord/lib/active_record/locking/pessimistic.rb index 8e4ddcac82..ddf2afca0c 100644 --- a/activerecord/lib/active_record/locking/pessimistic.rb +++ b/activerecord/lib/active_record/locking/pessimistic.rb @@ -64,7 +64,7 @@ module ActiveRecord 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 |