jeremyevans/sequel — pull request #552 by timcraft (2012-09-16 16:14:47+00:00)
Title: Add ~ method to NilClass to make it easier to query for NOT NULL

I've been using this pattern in my queries a lot to test for the presence of something:

```ruby
.where(~{something: nil})
```

This pull request adds the ~ method to NilClass, making this possible:

```ruby
.where(something: ~nil)
```

Personally I find that to be a big improvement: it's easier to type and it's easier to scan (i.e. the intent of the code is clearer).