12. Sample Code
# select * from accounts where id=1 for update
Account.find(1, lock: true)
Copyright Drecom Co., Ltd. All Rights Reserved.
13. Sample Code
# select * from accounts where id=1 for update
Account.find(1, lock: true)
# => DEPRECATION WARNING: Passing
options to #find is deprecated. Please build
a scope and then call #find on it.
Copyright Drecom Co., Ltd. All Rights Reserved.
15. あー、WEB+DB Vol.73で読んだわー
Ruby on Rails Guides
Rails 4.0 has deprecated the old-style hash
based finder API. This means that methods
which previously accepted "finder options"
no longer do.
Copyright Drecom Co., Ltd. All Rights Reserved.
22. PR送る前に読んだもの
● Contributing to Ruby on Rails
○ 「6 Contributing to the Rails
Documentation」 の辺りを重点的に
● API Documentation Guidelines
Copyright Drecom Co., Ltd. All Rights Reserved.