mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
722e0b6a8b
Use the #lock method to obtain a row lock on a single record. Simply reloads the record with :lock => true. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |
||
---|---|---|
.. | ||
optimistic.rb | ||
pessimistic.rb |