diff options
author | st0012 <stan001212@gmail.com> | 2019-02-03 22:06:38 +0800 |
---|---|---|
committer | st0012 <stan001212@gmail.com> | 2019-04-04 09:59:06 +0800 |
commit | e8688ddb33347eb9de078843a75a075b70cc9f04 (patch) | |
tree | 8bf3464a59d468044dd540fbbae1ddde8e09124f /activemodel/test/cases/type/date_time_test.rb | |
parent | 2c44e22942cdf8e93a72084db2773f088b4ad486 (diff) | |
download | rails-e8688ddb33347eb9de078843a75a075b70cc9f04.tar.gz rails-e8688ddb33347eb9de078843a75a075b70cc9f04.tar.bz2 rails-e8688ddb33347eb9de078843a75a075b70cc9f04.zip |
Fix partial caching ignore repeated items issue
This is because we only use hash to maintain the result. So when the key
are the same, the result would be skipped. The solution is to maintain
an array for tracking every item's position to restructure the result.
Diffstat (limited to 'activemodel/test/cases/type/date_time_test.rb')
0 files changed, 0 insertions, 0 deletions