You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect only_deleted + natural = with_deleted. There are truly that number of deleted records, but when using only_deleted the count is 0.
This is my first attempt to use only_deleted, so maybe it doesn't work all the time... Don't know. The relationship isn't a basic has_many, but a has_many :through, and that may be relevant.
The text was updated successfully, but these errors were encountered:
I am not sure what causes this, but here is the symptom of the problem:
I would expect
only_deleted
+ natural =with_deleted
. There are truly that number of deleted records, but when usingonly_deleted
the count is0
.This is my first attempt to use
only_deleted
, so maybe it doesn't work all the time... Don't know. The relationship isn't a basichas_many
, but ahas_many :through
, and that may be relevant.The text was updated successfully, but these errors were encountered: