OrderedSet#add()

add (obj, guid) Ember.OrderedSetprivate Defined in packages/ember-metal/lib/map.js:99 Parameters: obj guid (optional, and for internal use) Returns: Ember.OrderedSet

Route#findModel()

findModel (type, value) private Defined in packages/ember-routing/lib/system/route.js:1519 Parameters: type String the model type value Object the value passed to find

RSVP.filter()

filter (promises, filterFn, label) Promisestatic Defined in bower_components/rsvp/lib/rsvp/filter.js:6 RSVP.filter is similar to JavaScript's native filter method, except that it waits for all promises to become fulfilled before running the filterFn on each item in given to promises. RSVP.filter returns a promise that will become fulfilled with the result of running filterFn on the values the promises become fulfilled with. For example: var promise1 = RSVP.resolve(1); var promise2 = RSVP

DS.RESTAdapter#_makeRequest()

_makeRequest (request) Promiseprivate Defined in addon/adapters/rest.js:1379 Make a request using jQuery.ajax. Parameters: request Object Returns: Promise promise

DS.Model#destroyRecord()

destroyRecord (options) Promise Defined in addon/-private/system/model/model.js:532 Same as deleteRecord, but saves the record immediately. Example app/routes/model/delete.js import Ember from 'ember'; export default Ember.Route.extend({ actions: { delete: function() { var controller = this.controller; controller.get('model').destroyRecord().then(function() { controller.transitionToRoute('model.index'); }); } } }); If you pass an object on the adapter

TextSupport#keyUp()

keyUp (event) private Defined in packages/ember-views/lib/mixins/text_support.js:294 Allows you to specify a controller action to invoke when a key-up event is fired. To use this method, give your field a key-up attribute. The value of that attribute should be the name of the action in your controller that you wish to invoke. For an example on how to use the key-up attribute, please reference the example near the top of this file. Parameters: event Event

RSVP.Promise#finally()

finally (callback, label) Promise Defined in bower_components/rsvp/lib/rsvp/promise.js:442 finally will be invoked regardless of the promise's fate just as native try/catch/finally behaves Synchronous example: findAuthor() { if (Math.random() > 0.5) { throw new Error(); } return new Author(); } try { return findAuthor(); // succeed or fail } catch(error) { return findOtherAuther(); } finally { // always runs // doesn't affect the return value } Asynchronous example: f

Templates.helpers.concat()

concatpublic Defined in packages/ember-htmlbars/lib/helpers/concat.js:6 Available since 1.13.0 Concatenates input params together. Example: handlebars {{some-component name=(concat firstName " " lastName)}} {{! would pass name="<first name value> <last name value>" to the component}}

Debugging Promises

Debugging Promises The Inspector provides a way to look at all Promises created in your application. Click on the Promises menu to start inspecting them. You can see a hierarchical list of Promises with labels describing each Promise, its state, its settled value, and the time it took to settle. Promise States and Filtering Promises have different colors based on their state. You can filter by clicking on the following pills: Rejected, Pending, Fulfilled. You can also search for Promises

DS.JSONAPISerializer#extractRelationships()

extractRelationships (modelClass, resourceHash) Object Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:299 Parameters: modelClass Object resourceHash Object Returns: Object