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

DS.Model.fields

fieldsEmber.Mapstatic Defined in addon/-private/system/relationships/ext.js:488 A map whose keys are the fields of the model and whose values are strings describing the kind of the field. A model's fields are the union of all of its attributes and relationships. For example: app/models/blog.js import DS from 'ember-data'; export default DS.Model.extend({ users: DS.hasMany('user'), owner: DS.belongsTo('user'), posts: DS.hasMany('post'), title: DS.attr('string') }); import Ember f

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

DataAdapter#getRecordFilterValues()

getRecordFilterValues (record) Objectprivate Defined in packages/ember-extension-support/lib/data_adapter.js:458 Returns the values of filters defined by getFilters. Parameters: record Object The record instance. Returns: Object The filter values.

Ember.onLoad()

onLoad (name, callback) private Defined in packages/ember-runtime/lib/system/lazy_load.js:14 Detects when a specific package of Ember (e.g. 'Ember.Application') has fully loaded and is available for extension. The provided callback will be called with the name passed resolved from a string into the object: Ember.onLoad('Ember.Application' function(hbars) { hbars.registerHelper(...); }); Parameters: name String name of hook callback Function callback to be called

DS.RecordArray#isLoaded

isLoadedBoolean Defined in addon/-private/system/record-arrays/record-array.js:46 The flag to signal a RecordArray is finished loading data. Example var people = store.peekAll('person'); people.get('isLoaded'); // true

DS.Adapter#deleteRecord()

deleteRecord (store, type, snapshot) Promise Defined in addon/adapter.js:371 Implement this method in a subclass to handle the deletion of a record. Sends a delete request for the record to the server. Example app/adapters/application.js import DS from 'ember-data'; export default DS.Adapter.extend({ deleteRecord: function(store, type, snapshot) { var data = this.serialize(snapshot, { includeId: true }); var id = snapshot.id; return new Ember.RSVP.Promise(function(resolve, r

DS.SnapshotRecordArray#adapterOptions

adapterOptions{Object} Defined in addon/-private/system/snapshot-record-array.js:46 A hash of adapter options