Skip to content

Problem with postgresql #4

@davidmm

Description

@davidmm

I have a problem using immortal with postgresql
When I try to destroy a model, the app segfaults when updating the database.

I think the problem is in method immortal_delete_all,
unscoped.update_all({:deleted => 1}, conditions)
should be
unscoped.update_all({:deleted => true}, conditions)

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