Registry#_normalizeCache

_normalizeCacheInheritingDictprivate Defined in packages/container/lib/registry.js:107

DS.RecordArrayManager#updateRecordArrays()

updateRecordArrays Defined in addon/-private/system/record-array-manager.js:93 This method is invoked whenever data is loaded into the store by the adapter or updated by the adapter, or when a record has changed. It updates all record arrays that a record belongs to. To avoid thrashing, it only runs at most once per run loop.

DS#attr()

attr (type, options) Attribute Defined in addon/attr.js:38 DS.attr defines an attribute on a DS.Model. By default, attributes are passed through as-is, however you can specify an optional type to have the value automatically transformed. Ember Data ships with four basic transform types: string, number, boolean and date. You can define your own transforms by subclassing DS.Transform. Note that you cannot use attr to define an attribute of id. DS.attr takes an optional hash as a second parame

Test#registerWaiter()

registerWaiter (context, callback) public Defined in packages/ember-testing/lib/test/waiters.js:7 Available since 1.2.0 This allows ember-testing to play nicely with other asynchronous events, such as an application that is waiting for a CSS3 transition or an IndexDB transaction. For example: Ember.Test.registerWaiter(function() { return myPendingTransactions() == 0; }); The context argument allows you to optionally specify the this with which your callback will be invoked. For example:

ViewTargetActionSupport#nearestWithProperty()

nearestWithProperty (property) deprecatedprivate Defined in packages/ember-views/lib/mixins/view_support.js:44 use yield and contextual components for composition instead. Return the nearest ancestor that has a given property. Parameters: property String A property name Returns: Ember.View

Libraries

Libraries Class PRIVATE Defined in: packages/ember-metal/lib/libraries.js:4 Module: ember Helper class that allows you to register your library with Ember. Singleton created at Ember.libraries.

ViewTargetActionSupport#findElementInParentElement()

findElementInParentElement (parentElement) DOMElementprivate Defined in packages/ember-views/lib/mixins/view_support.js:280 Attempts to discover the element in the parent element. The default implementation looks for an element with an ID of elementId (or the view's guid if elementId is null). You can override this method to provide your own form of lookup. For example, if you want to discover your element using a CSS class name instead of an ID. Parameters: parentElement DOMElement Th

DS.BuildURLMixin#urlForFindMany()

urlForFindMany (ids, modelName, snapshots) String Defined in addon/-private/adapters/build-url-mixin.js:216 Builds a URL for coalesceing multiple store.findRecord(type, id) records into 1 request when the adapter'scoalesceFindRequests` property is true. Example: app/adapters/application.js import DS from 'ember-data'; export default DS.RESTAdapter.extend({ urlForFindMany(ids, modelName) { let baseUrl = this.buildURL(); return `${baseUrl}/coalesce`; } }); Parameters: ids Arr

DS.RESTAdapter#generatedDetailedMessage()

generatedDetailedMessage (status, headers, payload, requestData) Stringprivate Defined in addon/adapters/rest.js:1126 Generates a detailed ("friendly") error message, with plenty of information for debugging (good luck!) Parameters: status Number headers Object payload Object requestData Object Returns: String detailed error message

DS.RESTAdapter#coalesceFindRequests

coalesceFindRequests{boolean} Inherited from DS.Adapter but overwritten in addon/adapters/rest.js:300 By default the RESTAdapter will send each find request coming from a store.find or from accessing a relationship separately to the server. If your server supports passing ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests within a single runloop. For example, if you have an initial payload of: { post: { id: 1, comments: [1, 2] } } By d