diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-21 21:27:50 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-27 22:43:46 +0900 |
commit | 19c80718afea8cf8f56ee68fcfbe325d54c02906 (patch) | |
tree | 09a62e19ccb1deefdaebf5813c8e882ef50f6488 /activestorage/test/models/variant_test.rb | |
parent | 0a8fe15ba8fc7c36253996c557a0012f718d7d60 (diff) | |
download | rails-19c80718afea8cf8f56ee68fcfbe325d54c02906.tar.gz rails-19c80718afea8cf8f56ee68fcfbe325d54c02906.tar.bz2 rails-19c80718afea8cf8f56ee68fcfbe325d54c02906.zip |
Ensure that `ids_reader` respects dirty target whether target is loaded or not
Currently `ids_reader` doesn't respect dirty target when the target is
not loaded yet unlike `collection.size`. I believe the inconsistency is
a bug, fixes the `ids_reader` to behave consistently regardless of
whether target is loaded or not.
Diffstat (limited to 'activestorage/test/models/variant_test.rb')
0 files changed, 0 insertions, 0 deletions