public/javascripts/vendor/javascripts/ember.js
function(manager, params) {
    var modelClass, routeMatcher, param;

    if (modelClass = this.modelClassFor(get(manager, 'namespace'))) {
      Ember.assert("Expected "+modelClass.toString()+" to implement `find` for use in '"+this.get('path')+"' `deserialize`. Please implement the `find` method or overwrite `deserialize`.", modelClass.find);
      return modelClass.find(params[paramForClass(modelClass)]);
    }

    return params;
  }
function(manager, params) {
    var modelClass, routeMatcher, param;

    if (modelClass = this.modelClassFor(get(manager, 'namespace'))) {
      Ember.assert("Expected "+modelClass.toString()+" to implement `find` for use in '"+this.get('path')+"' `deserialize`. Please implement the `find` method or overwrite `deserialize`.", modelClass.find);
      return modelClass.find(params[paramForClass(modelClass)]);
    }

    return params;
  }
function ( manager , params ) { var modelClass , routeMatcher , param ; if ( modelClass = this . modelClassFor ( get ( manager , 'namespace' ) ) ) { Ember . assert ( "Expected " + modelClass . toString ( ) + " to implement `find` for use in '" + this . get ( 'path' ) + "' `deserialize`. Please implement the `find` method or overwrite `deserialize`." , modelClass . find ) ; return modelClass . find ( params [ paramForClass ( modelClass ) ] ) ; } return params ; }
The default method that takes a `params` object and converts
it into an object.

By default, a params hash that looks like `{ post_id: 1 }`
will be looked up as `namespace.Post.find(1)`. This is
designed to work seamlessly with Ember Data, but will work
fine with any class that has a `find` method.
The default method that takes a params object and converts it into an object .