DS.EmbeddedRecordsMixin#removeEmbeddedForeignKey()

removeEmbeddedForeignKey (snapshot, embeddedSnapshot, relationship, json) Defined in addon/serializers/embedded-records-mixin.js:453 When serializing an embedded record, modify the property (in the json payload) that refers to the parent record (foreign key for relationship). Serializing a belongsTo relationship removes the property that refers to the parent record Serializing a hasMany relationship does not remove the property that refers to the parent record. Parameters: snapshot DS.S

DS.Model#isLoading

isLoading{Boolean} Defined in addon/-private/system/model/model.js:68 If this property is true the record is in the loading state. A record enters this state when the store asks the adapter for its data. It remains in this state until the adapter provides the requested data.

Observable#cacheFor()

cacheFor (keyName) Objectpublic Defined in packages/ember-runtime/lib/mixins/observable.js:490 Returns the cached value of a computed property, if it exists. This allows you to inspect the value of a computed property without accidentally invoking it if it is intended to be generated lazily. Parameters: keyName String Returns: Object The cached value of the computed property, if any

Debug.registerWarnHandler()

registerWarnHandler (handler) publicstatic Defined in packages/ember-debug/lib/index.js:260 Available since 2.1.0 Allows for runtime registration of handler functions that override the default warning behavior. Warnings are invoked by calls made to Ember.warn. The following example demonstrates its usage by registering a handler that does nothing overriding Ember's default warning behavior. // next is not called, so no warnings get the default behavior Ember.Debug.registerWarnHandler(() =&g

Test#visit()

visit (url) RSVP.Promisepublic Defined in packages/ember-testing/lib/helpers.js:24 Loads a route, sets up any controllers, and renders any templates associated with the route as though a real user had triggered the route change while using your app. Example: visit('posts/index').then(function() { // assert something }); Parameters: url String the name of the route Returns: RSVP.Promise

DS.Store#serialize()

serialize (record, options) private Defined in addon/-private/system/store.js:250 Returns a JSON representation of the record using a custom type-specific serializer, if one exists. The available options are: includeId: true if the record's ID should be included in the JSON representation Parameters: record DS.Model the record to serialize options Object an options hash

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.map()

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

Ember.getWithDefault()

getWithDefault (obj, keyName, defaultValue) Objectpublic Defined in packages/ember-metal/lib/property_get.js:106 Retrieves the value of a property from an Object, or a default value in the case that the property returns undefined. Ember.getWithDefault(person, 'lastName', 'Doe'); Parameters: obj Object The object to retrieve from. keyName String The name of the property to retrieve defaultValue Object The value to return if the property value is undefined Returns: Object

DS.Model#eachRelationship()

eachRelationship (callback, binding) Inherited from DS.Model but overwritten in addon/-private/system/relationships/ext.js:603 Given a callback, iterates over each of the relationships in the model, invoking the callback with the name of each relationship and its relationship descriptor. The callback method you provide should have the following signature (all parameters are optional): function(name, descriptor); name the name of the current property in the iteration descriptor the meta