heartsentwined/ember-auth — pull request #85 by maoe (2013-08-01 15:31:42+00:00)
Title: Ember-model custom adapter support

I implemented a config option which allows users to put a specified `RESTAdapter` in place of the default `Ember.RESTAdapter`. An example config looks like this:

```coffeescript
App.Auth = Ember.Auth.create
# ...
emberModel:
adapter: 'App.RESTAdapter'
```

I guess we can do the same thing in the ember-data module.

I've attached a test case which checks if the emberModel.adapter option defaults to `Ember.RESTAdapter' so that this patch doesn't break backward compatibility, but I'm not sure what's the best way to test if a custom adapter is actually working.