DefaultResolver#resolveModel()

resolveModel (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:353 Lookup the model on the Application namespace Parameters: parsedName Object a parseName object with the parsed fullName lookup string

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

DS.Errors#errorsByAttributeName

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

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.

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.

Route#_names

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

Data Tab

Data Tab You can inspect your models by clicking on the Data tab. Check out Building a Data Custom Adapter below if you maintain your own persistence library. When you open the Data tab, you will see a list of model types defined in your application, along with the number of loaded records. The Inspector displays the loaded records when you click on a model type. Inspecting Records Each row in the list corresponds to one record. The first four model attributes are shown in the list view. Cl

Acceptance Tests

Acceptance Tests To create an acceptance test, run ember generate acceptance-test <name>. For example: ember g acceptance-test login This generates this file: tests/acceptance/login-test.js import { test } from 'qunit'; import moduleForAcceptance from 'people/tests/helpers/module-for-acceptance'; moduleForAcceptance('Acceptance | login'); test('visiting /login', function(assert) { visit('/login'); andThen(function() { assert.equal(currentURL(), '/login'); }); }); moduleFo

AutoLocation#history

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

DS.Errors#_findOrCreateMessages()

_findOrCreateMessagesprivate Defined in addon/-private/system/model/errors.js:255