Find from store for a Multi word model fails


#1
  1. My model is

var UserLookup = DS.Model.extend({ ‘name’: DS.attr(‘string’) });

  1. In My adapter I lookup as follows this.store.find(‘userLookup’).then(function(results){ }

  2. The response from REST API is {“userLookups”:[{“id”:1,“name”:“xxx”},{“id”:2,“name”:“yyyy”}]}

  3. Upon deserialization it fails with error Error: Assertion Failed: The response from a findAll must be an Array, not undefined

I made sure the model lookup and the key in JSON are both camelCased. If I rename the model with singleword, everything works.

Am I missing something in serializer that could cause this error?