DS.Model._create()

_createprivatestatic Defined in addon/-private/system/model/model.js:959 Alias DS.Model's create method to _create. This allows us to create DS.Model instances from within the store, but if end users accidentally call create() (instead of createRecord()), we can raise an error.

Test#unregisterWaiter()

unregisterWaiter (context, callback) public Defined in packages/ember-testing/lib/test/waiters.js:47 Available since 1.2.0 unregisterWaiter is used to unregister a callback that was registered with registerWaiter. Parameters: context Object (optional) callback Function

HTMLBars

Ember.HTMLBars Class Module: ember-htmlbars

Test#removeTestHelpers()

removeTestHelperspublic Defined in packages/ember-testing/lib/ext/application.js:138 This removes all helpers that have been registered, and resets and functions that were overridden by the helpers. Example: App.removeTestHelpers();

DS.Errors#_clear()

_clearprivate Defined in addon/-private/system/model/errors.js:379 Removes all error messages. to the record.

Specifying a Route's Model

Specifying a Route's Model Often, you'll want a template to display data from a model. Loading the appropriate model is one job of a route. For example, take this router: app/router.js Router.map(function() { this.route('favorite-posts'); }); To load a model for the favorite-posts route, you would use the model() hook in the favorite-posts route handler: app/routes/favorite-posts.js import Ember from 'ember'; export default Ember.Route.extend({ model() { return this.get('store').que

PromiseProxyMixin#promise

promisepublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:139 The promise whose fulfillment value is being proxied by this object. This property must be specified upon creation, and should not be changed once created. Example: Ember.ObjectProxy.extend(Ember.PromiseProxyMixin).create({ promise: <thenable> });

Component#didRender()

didRenderpublic Defined in packages/ember-htmlbars/lib/component.js:375 Available since 1.13.0 Called after a component has been rendered, both on initial render and in subsequent rerenders.

ember-application

ember-application Module Parent: ember The ApplicationInstance encapsulates all of the stateful aspects of a running Application. At a high-level, we break application boot into two distinct phases: Definition time, where all of the classes, templates, and other dependencies are loaded (typically in the browser). Run time, where we begin executing the application once everything has loaded. Definition time can be expensive and only needs to happen once since it is an idempotent operation. For

Inflector#singularize()

singularize (word) Defined in node_modules/ember-inflector/addon/lib/system/inflector.js:222 Parameters: word String