Skip to content

Commit

Permalink
Updates readme
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Dan McClain committed Sep 14, 2012
1 parent 1207c46 commit 9d3a157
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -161,7 +161,7 @@ person_2.favorite_numbers.first.class
## Querying PostgreSQL datatypes

* [Arrays](#arrays-2)
* INET/CIDR
* [INET/CIDR](#inetcidr)

### Arrays

Expand All @@ -182,7 +182,8 @@ ARRAY[1,2,3] && ARRAY[3,5,6]
-- t
```

Postgres\_ext defines `array_overlap`, an ARel predicate for the `&&` operator.
Postgres\_ext defines `array_overlap`, an [Arel](https://github.com/rails/arel)
predicate for the `&&` operator.

```ruby
user_arel = User.arel_table
Expand Down Expand Up @@ -243,7 +244,8 @@ inet '192.168.1.6' << inet '192.168.1.0/24'
-- t
```

Postgres\_ext defines `contained_within`, an ARel predicate for the `<<` operator.
Postgres\_ext defines `contained_within`, an [Arel](https://github.com/rails/arel)
predicate for the `<<` operator.

```ruby
user_arel = User.arel_table
Expand Down

0 comments on commit 9d3a157

Please sign in to comment.