Open unlimit opened 3 years ago
@unlimit I know this is a few months old, but I was experiencing a similar issue and upgrading to v0.7.3 resolved it.
@unlimit can you confirm that acts_as_paranoid 0.7.3 resolves your problem?
I was getting NoMethodError: undefined method equality?'
when using only_deleted
and upgrading to v0.7.3
fixed it for me.
@jshah how is that related to the original bug report?
Hi! We recently switched our app to Rails 6(6.1.2) and we noticed that only_deleted and with_deleted scopes doesn't work properly via associations
generates sql: SELECT COUNT() FROM "users" WHERE "users"."deleted_at" IS NOT NULL expecting sql: SELECT COUNT() FROM "users" WHERE "users"."company_id" = $1 AND "users"."deleted_at" IS NOT NULL