only the first user of kopy is skipping the docs without a file on it, all other users still have all the documents on them. Am I doing anything wrong here?
I had tried put if: lambda{|doc| doc.file.present?} into an array or a hash, got the same result.
The code looks ok. The condition is evaluated here. As it seems to do the same for all objects in the association, it doesn't look like the issue is in deep_cloneable. If you think otherwise, could you provide a failing testcase?
Here's my code, I want to skip any document without files on it
only the first user of kopy is skipping the docs without a file on it, all other users still have all the documents on them. Am I doing anything wrong here?
I had tried put
if: lambda{|doc| doc.file.present?}
into an array or a hash, got the same result.