DS.JSONAPISerializer#keyForRelationship()

keyForRelationship (key, typeClass, method) String Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:427 keyForRelationship can be used to define a custom key when serializing and deserializing relationship properties. By default JSONAPISerializer follows the format used on the examples of http://jsonapi.org/format and uses dashes as word separators in relationship properties. This behaviour can be easily customized by extending this method. Example app/seria

DS.JSONSerializer#normalizeUpdateRecordResponse()

normalizeUpdateRecordResponse (store, primaryModelClass, payload, id, requestType) Object Defined in addon/serializers/json.js:388 Available since 1.13.0 Parameters: store DS.Store primaryModelClass DS.Model payload Object id String|Number requestType String Returns: Object JSON-API Document

DS.Errors#unknownProperty()

unknownPropertyprivate Defined in addon/-private/system/model/errors.js:184

Router

Ember.Router Class PUBLIC Extends: Ember.Object Uses: Ember.Evented Defined in: packages/ember-routing/lib/system/router.js:41 Module: ember-routing The Ember.Router class manages the application state and URLs. Refer to the routing guide for documentation.

RegistryProxyMixin#unregister()

unregister (fullName) public Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:90 Unregister a factory. let App = Ember.Application.create(); let User = Ember.Object.extend(); App.register('model:user', User); App.resolveRegistration('model:user').create() instanceof User //=> true App.unregister('model:user') App.resolveRegistration('model:user') === undefined //=> true Parameters: fullName String

Dependency Injection

Dependency Injection Ember applications utilize the dependency injection ("DI") design pattern to declare and instantiate classes of objects and dependencies between them. Applications and application instances each serve a role in Ember's DI implementation. An Ember.Application serves as a "registry" for dependency declarations. Factories (i.e. classes) are registered with an application, as well as rules about "injecting" dependencies that are applied when objects are instantiated. An Ember

Route#routeName

routeNameStringpublic Defined in packages/ember-routing/lib/system/route.js:131 The name of the route, dot-delimited. For example, a route found at app/routes/posts/post.js or app/posts/post/route.js (with pods) will have a routeName of posts.post.

ControllerMixin#transitionToRoute()

transitionToRoute (name, models, options) public Defined in packages/ember-routing/lib/ext/controller.js:43 Transition the application into another route. The route may be either a single route or route path: aController.transitionToRoute('blogPosts'); aController.transitionToRoute('blogPosts.recentEntries'); Optionally supply a model for the route in question. The model will be serialized into the URL using the serialize hook of the route: aController.transitionToRoute('blogPost', aPost);

DS.Model.modelName

modelNameStringstatic Defined in addon/-private/system/model/model.js:985 Represents the model's class name as a string. This can be used to look up the model through DS.Store's modelFor method. modelName is generated for you by Ember Data. It will be a lowercased, dasherized string. For example: store.modelFor('post').modelName; // 'post' store.modelFor('blog-post').modelName; // 'blog-post' The most common place you'll want to access modelName is in your serializer's payloadKeyFromModelN

Router#hasRoute()

hasRouteBooleanprivate Defined in packages/ember-routing/lib/system/router.js:433 Does this router instance have the given route. Returns: Boolean