I used Paranoia gem for Rails 6. And it isn't working as expected. It passes the model level validations for unique columns.
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_users_on_email" DETAIL: Key (email)=(selo@mailinator.com) already exists.
Is this gem compatible with Rails 6. Also I am facing issues while indexing. In before action call for soft delete method the indexing doesn't work and shows all the records including the deleted ones.