I have already opened the issue https://github.com/carrierwaveuploader/carrierwave-mongoid/issues/205 where I explain that when deleting a model which has a mounter using the :grid_fs storage engine, the GridFs::File is well destroyed, but the belonging GridFs::Chunk aren't, even do I found the has_many :chunks, ..., dependent: :destroy, ... line in this gem.
I have checked the tests from this gem and I couldn't find one which ensures the chunks are cleaned.
I have already opened the issue https://github.com/carrierwaveuploader/carrierwave-mongoid/issues/205 where I explain that when deleting a model which has a mounter using the
:grid_fs
storage engine, theGridFs::File
is well destroyed, but the belongingGridFs::Chunk
aren't, even do I found thehas_many :chunks, ..., dependent: :destroy, ...
line in this gem.I have checked the tests from this gem and I couldn't find one which ensures the chunks are cleaned.
Does anyone had that issue already ?