diff options
author | David Verhasselt <david@crowdway.com> | 2019-04-12 15:40:29 +0300 |
---|---|---|
committer | David Verhasselt <david@crowdway.com> | 2019-04-12 16:12:14 +0300 |
commit | 5e21667496ded39e575640dcebe21cacd2e04ef6 (patch) | |
tree | cd6ab1dc0789491def2ad3cc1900b1390e5f4c1d /activerecord/lib/active_record/attribute_methods/before_type_cast.rb | |
parent | 3bd534287139549cee10e10364344d66139d9237 (diff) | |
download | rails-5e21667496ded39e575640dcebe21cacd2e04ef6.tar.gz rails-5e21667496ded39e575640dcebe21cacd2e04ef6.tar.bz2 rails-5e21667496ded39e575640dcebe21cacd2e04ef6.zip |
Redis fetch without names returns {}
When trying to call mget in Redis without any
parameters, a Redis error is thrown. To avoid
this, we circumvent Redis entirely when there
are no key names given.
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/before_type_cast.rb')
0 files changed, 0 insertions, 0 deletions