Permalink
Browse files

fixed the readme per discussion w/ tenderlove

  • Loading branch information...
zenspider committed Feb 18, 2014
1 parent 38321b1 commit 5c415ec6c10ad71684ab6422a43d10d3d07ad07c
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.markdown
@@ -4,6 +4,8 @@

## DESCRIPTION

Arel Really Exasperates Logicians

Arel is a SQL AST manager for Ruby. It

1. Simplifies the generation of complex SQL queries
@@ -35,7 +37,7 @@ query.to_sql

### More Sophisticated Queries

Here is a whirlwind tour through the most common relational operators. These will probably cover 80% of all interaction with the database.
Here is a whirlwind tour through the most common SQL operators. These will probably cover 80% of all interaction with the database.

First is the 'restriction' operator, `where`:

@@ -72,7 +74,7 @@ users.project(users[:name]).group(users[:name])
# => SELECT users.name FROM users GROUP BY users.name
```

The best property of the Relational Algebra is its "composability", or closure under all operations. For example, to restrict AND project, just "chain" the method invocations:
The best property of arel is its "composability", or closure under all operations. For example, to restrict AND project, just "chain" the method invocations:

```ruby
users \

0 comments on commit 5c415ec

Please sign in to comment.