emberjs/data — pull request #298 by tchak (2012-06-22 00:07:47+00:00)
Title: More rest adapter refactoring

* didCreateRecords now take an array of records and json data for them
* finished extracting callback methods for find requests
* add didFindRecord in response to find request
* find get passed record instance that it should pass to `didFindRecord`. It will allow us eventually to set loading record in error state.
* add didFindQuery in response to recordArray based requests
* findAll, findQuery and findMany all get passed recordArray instance that they should pass to store method `didFindQuery`. This allow a simpler and more uniform interface on the adapter. It will also eventually allow us to put recordArray in error state
* in rest_adapter findAll and findMany are juste special cases of findQuery request