This is a faster way to test your mongoose models. The example below was based on the expressjs-blog example here
$node
> var mongoose = require('mongoose')
> var db = mongoose.connect('mongodb://localhost/blogsample')
> db.model('BlogPost', require('./app/models/blogpost'))
{ [Function: model] getLatestPosts: [Function], modelName: 'BlogPost' }
> db.model('BlogPost').findOne({}, function(err, data){ console.log(data) })
{ model: { [Function: model] getLatestPosts: [Function], modelName: 'BlogPost' }, op: 'findOne' }
> initializing...
{ is_active: true, date_created: Thu, 12 May 2011 06:05:57 GMT, title: 'Testing', body: 'Hello Blog Post', _id: 4dcb78c5218ef26905000025 }