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)