This example is syntactically incorrect.  The braces denote a block, not the beginning of the arguments to filter.  It should be written:
```ruby
r.table('users').filter(:default => true) {|user|
  (user[:age] < 18)
}.run(conn)
```