title: Mongoose Find not working
body: <p>This is my first time writing a MVC app in Node/Express/Mongoose so I could really use some help. My .find() command just doesn't find anything! :(</p>
  
  <p>Structure is that I have a an /app folder in the root. /app folder contains /models (schemas), /controllers and /views in it. And I have app.js outside in the root.</p>
  
  <p>Somewhere in app.js:</p>
  
  <pre><code>// all necessary config/setup stuff..
  var mongoose = require('mongoose');
  mongoose.connect(config.db);
  var app = express();
  require('./config/routes')(app)
  </code></pre>
  
  <p>In my routes.js file:</p>
  
  <pre><code>var skills = require('../app/controllers/skills');
  app.get('/', skills.showall);
  </code></pre>
  
  <p>My controller skills.js contains:</p>
  
  <pre><code>var Skill = require('../models/skill');
  
  exports.showall = function(req, res) {
      Skill.find({}, function(err, docs){
          if (!err) {
              res.render('index', {title: 'Skilldom', skills: docs});
          }
          else {
              throw err;
          }
      });
  }
  </code></pre>
  
  <p>Finally my Model skill.js contains:</p>
  
  <pre><code>var mongoose = require('mongoose');
  
  //Skill schema definition
  var skillSchema = new mongoose.Schema({
      name: String,
      length: String,
  });
  
  var Skill = mongoose.model('Skill', skillSchema);
  
  module.exports = Skill;
  </code></pre>
  
  <p>My index view renders, so I see the content from my index.jade template, but for some reason the find command in the model is not fetching anything. I can confirm that my database (in MongoHQ) has real data.</p>
  
  <p>Any thoughts?</p>