Closed simonexmachina closed 10 years ago
I've had to add the following to my ApplicationAdapdater:
ApplicationAdapdater
App.ApplicationAdapter = EmberCouchDBKit.DocumentAdapter.extend stringForType: (type)-> type.typeKey
Am I maybe supposed to be injecting the serializer into the adapter? Please advise if I'm missing something.
What branch are you using?
This happens on beta2.
beta2
I remove stringForType method. Now I can use only Ember.String.singularize for design name and type
stringForType
https://github.com/roundscope/ember-couchdb-kit/blob/beta2/src/document-adapter.coffee#L246-L250 see more
I've had to add the following to my
ApplicationAdapdater
:Am I maybe supposed to be injecting the serializer into the adapter? Please advise if I'm missing something.