rails/rails — pull request #12560 by sue445 (2013-10-16 15:23:47+00:00)
Title: avoid deprecation warning in sample code

If using `Account.find(1, lock: true)` , printed message similar to the following:

> DEPRECATION WARNING: Passing options to #find is deprecated. Please build a scope and then call #find on it.

So I modified sample code.