diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-09-17 10:12:20 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-09-17 16:34:38 +0900 |
commit | 97544ed1770bf3c169f3b8f3711917bbf37045bc (patch) | |
tree | dfb12be6ee894ce387b6428dae107d38e1856a47 /activerecord | |
parent | 84650022d574d24d6adea6ad941ec3ca57d2a2f0 (diff) | |
download | rails-97544ed1770bf3c169f3b8f3711917bbf37045bc.tar.gz rails-97544ed1770bf3c169f3b8f3711917bbf37045bc.tar.bz2 rails-97544ed1770bf3c169f3b8f3711917bbf37045bc.zip |
add check of argument
`#fetch_multi` in case did not cache hit, to write a cache using the block value.
https://github.com/rails/rails/blob/master/activesupport/lib/active_support/cache.rb#L383..L384
Therefore, block is a need to pass always, I think should check first.
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions