Skip to content

Paranoia to work with Uniqueness and Elastic Search #500

@ayza-hamid

Description

@ayza-hamid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions