aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage
diff options
context:
space:
mode:
authorAdam Richardson <adam.richardson@coinbase.com>2018-03-12 19:52:26 -0400
committerJeremy Daer <jeremydaer@gmail.com>2018-03-12 18:43:03 -0700
commita061ae91a90a1fbd909f647dcd219af197bd30a9 (patch)
treeb9deadcffc15871de59c0a2faf520575bca6ec23 /activestorage/lib/active_storage
parent4483c926fce008c47179fda1b380d61f359c811f (diff)
downloadrails-a061ae91a90a1fbd909f647dcd219af197bd30a9.tar.gz
rails-a061ae91a90a1fbd909f647dcd219af197bd30a9.tar.bz2
rails-a061ae91a90a1fbd909f647dcd219af197bd30a9.zip
Redis cache store: fix constructing with a Redis instance
Since `Redis#call` duck types as a Proc, we'd call `#call` on it, thinking it's a Proc. Fixed by check for the Proc explicitly instead of duck typing on `#call`. References #32233
Diffstat (limited to 'activestorage/lib/active_storage')
0 files changed, 0 insertions, 0 deletions