Route#serialize()

serialize (model, params) Objectpublic Defined in packages/ember-routing/lib/system/route.js:1566 A hook you can implement to convert the route's model into parameters for the URL. App.Router.map(function() { this.route('post', { path: '/posts/:post_id' }); }); App.PostRoute = Ember.Route.extend({ model: function(params) { // the server returns `{ id: 12 }` return Ember.$.getJSON('/posts/' + params.post_id); }, serialize: function(model) { // this will make the URL `/p

AutoLocation

Ember.AutoLocation Namespace PRIVATE Defined in: packages/ember-routing/lib/location/auto_location.js:25 Module: ember-routing Ember.AutoLocation will select the best location option based off browser support with the priority order: history, hash, none. Clean pushState paths accessed by hashchange-only browsers will be redirected to the hash-equivalent and vice versa so future transitions are consistent. Keep in mind that since some of your users will use HistoryLocation, your server must

Templates.helpers.hash()

hash (options) Objectpublic Defined in packages/ember-htmlbars/lib/helpers/hash.js:6 Use the {{hash}} helper to create a hash to pass as an option to your components. This is specially useful for contextual components where you can just yield a hash: handlebars {{yield (hash name='Sarah' title=office )}} Would result in an object such as: js { name: 'Sarah', title: this.get('office') } Where the title is bound to updates of the office property. Parameters: options Object Retu

Enumerable#mapBy()

mapBy (key) Arraypublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:361 Similar to map, this specialized function returns the value of the named property on all items in the enumeration. Parameters: key String name of the property Returns: Array The mapped array.

DS.Errors#errorsByAttributeName

errorsByAttributeName{Ember.MapWithDefault}private Defined in addon/-private/system/model/errors.js:123

Route#_names

_namesprivate Defined in packages/ember-routing/lib/system/route.js:288

Application#advanceReadiness()

advanceReadinesspublic Defined in packages/ember-application/lib/system/application.js:523 Call advanceReadiness after any asynchronous setup logic has completed. Each call to deferReadiness must be matched by a call to advanceReadiness or the application will never become ready and routing will not begin.

Application#_prepareForGlobalsMode()

_prepareForGlobalsModeprivate Defined in packages/ember-application/lib/system/application.js:380 Enable the legacy globals mode by allowing this application to act as a global namespace. See the docs on the _globalsMode property for details. Most of these features are already deprecated in 1.x, so we can stop using them internally and try to remove them.

AutoLocation#history

historyprivate Defined in packages/ember-routing/lib/location/auto_location.js:52 Available since 1.5.1 Default: environment.history

Inflector#purgedCache()

purgedCachepublic Defined in node_modules/ember-inflector/addon/lib/system/inflector.js:143