DS.JSONSerializer#modelNameFromPayloadKey()

modelNameFromPayloadKey (key) String Defined in addon/serializers/json.js:716 Parameters: key String Returns: String the model's modelName

Ember.beginPropertyChanges()

beginPropertyChangesprivate Defined in packages/ember-metal/lib/property_events.js:205

Ember.computed.union()

union (propertyKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/reduce_computed_macros.js:426 Alias for Ember.computed.uniq. Parameters: propertyKey String Returns: Ember.ComputedProperty computes a new array with all the unique elements from the dependent array

Ember.defineProperty()

defineProperty (obj, keyName, desc, data) private Defined in packages/ember-metal/lib/properties.js:84 NOTE: This is a low-level method used by other parts of the API. You almost never want to call this method directly. Instead you should use Ember.mixin() to define new properties. Defines a property on an object. This method works much like the ES5 Object.defineProperty() method except that it can also accept computed properties and other special descriptors. Normally this method takes onl

Ember.GUID_PREFIX

GUID_PREFIXStringprivateconstant Defined in packages/ember-metal/lib/utils.js:30 Prefix used for guids through out Ember.

TextField#type

typeStringpublic Defined in packages/ember-htmlbars/lib/components/text_field.js:100 The type attribute of the input element. Default: "text"

Ember.VERSION

VERSIONStringpublic Defined in packages/ember-metal/lib/index.js:308 The semantic version

Testing Routes

Testing Routes Unit testing methods and computed properties follows previous patterns shown in Unit Testing Basics because Ember.Route extends Ember.Object. Testing routes can be done both via acceptance or unit tests. Acceptance tests will likely provide better coverage for routes because routes are typically used to perform transitions and load data, both of which are tested more easily in full context rather than isolation. That being said, sometimes it is important to unit test your route

DS.Ember.HTMLBars.helpers

DS.Ember.HTMLBars.helpers Class Module: ember-data

Ember.watch()

watch (obj, _keyPath) private Defined in packages/ember-metal/lib/watching.js:24 Starts watching a property on an object. Whenever the property changes, invokes Ember.propertyWillChange and Ember.propertyDidChange. This is the primitive used by observers and dependent keys; usually you will never call this method directly but instead use higher level methods like Ember.addObserver() Parameters: obj _keyPath String