argon/model.js
function find(id, callback) {
        var Model, request;

        Model = this;
        request = {
            action : 'findOne',
            model : Model,
            params : {
                id : id
            }
        };
        this.storage.findOne(request, function findOneCallback(data) {
            if (callback) {
                callback(data);
            }
        });
        return this;
    }
function find(id, callback) {
        var Model, request;

        Model = this;
        request = {
            action : 'findOne',
            model : Model,
            params : {
                id : id
            }
        };
        this.storage.findOne(request, function findOneCallback(data) {
            if (callback) {
                callback(data);
            }
        });
        return this;
    }
function find ( id , callback ) { var Model , request ; Model = this ; request = { action : 'findOne' , model : Model , params : { id : id } } ; this . storage . findOne ( request , function findOneCallback ( data ) { if ( callback ) { callback ( data ) ; } } ) ; return this ; }
Fetches one record of a given Model and creates the instance.
@method find <public, static>
@argument id <required> [Object] the id of the record.
@argument callback <optional> [Function] method to handle data.
@return [Argon.Model].
Fetches one record of a given Model and creates the instance .