diff options
author | Parker Selbert <parker@sorentwo.com> | 2013-07-17 13:59:15 -0500 |
---|---|---|
committer | Parker Selbert <parker@sorentwo.com> | 2014-02-26 20:31:46 -0600 |
commit | c046e60965d6a9af9083579bcc7d52ca650d885f (patch) | |
tree | 8e5f3b75bd66cc786449f2418b5aa5e880fe4a9f /railties/MIT-LICENSE | |
parent | 7c92e0bbf1848d0c8bc191b04cbe9272a82e3782 (diff) | |
download | rails-c046e60965d6a9af9083579bcc7d52ca650d885f.tar.gz rails-c046e60965d6a9af9083579bcc7d52ca650d885f.tar.bz2 rails-c046e60965d6a9af9083579bcc7d52ca650d885f.zip |
Return a hash rather than array from fetch_multi
The current implementation of `fetch_multi` returns an array and has no
means to easily backtrack which names yielded which results. By changing
the return value to a Hash we retain the name information. Hash#values
can be used on the response if only the values are needed.
Diffstat (limited to 'railties/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions