nl_tokens: This method is called by findById if it discovers that a particular type / id pair hasn t been loaded yet to kick off a request to the adapter .
pl_tokens: function ( <mask> ) { if ( isNone ( record ) ) { return null ; } if ( record . _loadingPromise ) { return record . _loadingPromise ; } if ( ! get ( record , 'isEmpty' ) ) { return null ; } var type = record . constructor , id = get ( record , 'id' ) ; var adapter = this . adapterFor ( type ) ; Ember . assert ( "You tried to find a record but you have no adapter (for " + type + ")" , adapter ) ; Ember . assert ( "You tried to find a record but your adapter (for " + type + ") does not implement 'find'" , adapter . find ) ; var promise = _find ( adapter , this , type , id ) ; record . loadingData ( promise ) ; return promise ; }