dockyard/postgres_ext — pull request #77 by borovsky (2013-04-30 11:49:53+00:00)
Title: Fixed compatibility with Squeel

Rails version: 3.2.12

This patch fixes work with Squeel.

Root of the problems that Squeel also use where without arguments, so where doesn't use passed block but returns `WhereChain`.

Minimal example that exposes problem:

```ruby
User.where{ id > 3 }.uniq
```