elixir-lang/ecto — pull request #291 by thiagoarrais (2014-10-01 11:48:51+00:00)
Title: WIP: Avoid relative names in group by error message

Uses the new pretty printer to change this error message

```
the query:

select: &0.id()

is invalid: `&0.id()` must appear in `group_by` or be used in an aggregate function
```

into this

```
the query:

select: &0.id()

is invalid: `e.id` must appear in `group_by` or be used in an aggregate function
```

End goal is to get this

```
the query:

select: e.id

is invalid: `e.id` must appear in `group_by` or be used in an aggregate function
```