diff options
author | Santosh Wadghule <santosh.wadghule@gmail.com> | 2016-04-16 16:16:17 +0530 |
---|---|---|
committer | Santosh Wadghule <santosh.wadghule@gmail.com> | 2016-04-18 20:25:16 +0530 |
commit | a712acc42543b575a623e1a8880c0e9dd5505cfa (patch) | |
tree | 9867a176a8608dbbd6179ed8a09b4a97ffc64a0f /activerecord/lib/active_record/sanitization.rb | |
parent | 38d6d4129bd9a04d71b29d4c2b47419523ecff5d (diff) | |
download | rails-a712acc42543b575a623e1a8880c0e9dd5505cfa.tar.gz rails-a712acc42543b575a623e1a8880c0e9dd5505cfa.tar.bz2 rails-a712acc42543b575a623e1a8880c0e9dd5505cfa.zip |
Fix forced cache miss for fetch.
- Raised an argument error if no block is passed to #fetch with
'force: true' option is set.
- Added tests for the same.
Diffstat (limited to 'activerecord/lib/active_record/sanitization.rb')
0 files changed, 0 insertions, 0 deletions