enyo/mongo-rest — pull request #5 by smebberson (2013-07-21 11:47:16+00:00)
Title: I've added support for ember.js model queries out of the box.

I've been writing an ember.js application, and wanted to use queries to filter documents on username. I have a collection that stores the same type of document, but I wanted it filtered by the records owner (i.e. username attribute).

I couldn't find support for this in mongo-rest out of the box, so I've added support for it. The following in ember.js:

```
App.Model.find({'attribute': 'value'});
```

Produces the following:

```
GET /api/1.0/clients?attribute=value HTTP/1.1
Accept: application/json, text/javascript, */*; q=0.01
```

The code I've added will support these ember.js find queries, out of the box.