codeodor/paranoia — pull request #1 by dvdplm (2014-06-09 14:09:55+00:00)
Title: Let Arel do the quoting to fix breakage on Postgres

We have issues using your fork with Postgres because of how the column is quoted:

```
PG::InvalidTextRepresentation - ERROR: invalid input syntax for type boolean: ""users"."deleted_at" IS NULL"
```

The code in this PR uses pure Arel which should allow for better portability between DBs.