title: Mongoose is saying I have 46 records, mongoDB says I have zero?
body: <p>The following test script says I have 46 records:</p>
  
  <pre><code>var mongoose = require('mongoose'),
      Schema = mongoose.Schema;
  
  var DealSchema = new Schema({
    title : String,
  });
  
  var Deal = mongoose.model('Deal', DealSchema);  
  
  mongoose.connect('mongodb://localhost/dealsite');
  mongoose.connection.on("open", function(){
    console.log("Mongoose connected");
    Deal.count({}, function( err, count){
      console.log( "Records:", count );
    })
  });
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>$ node testmongo.js 
  Mongoose connected
  Records: 46
  </code></pre>
  
  <p>While if I try to read the cords using the mongo shell I get a different story:</p>
  
  <pre><code>$ mongo localhost/dealsite
  MongoDB shell version: 1.4.4
  url: localhost/dealsite
  connecting to: localhost/dealsite
  type "exit" to exit
  type "help" for help
  &gt; db.dealsite.count()
  0
  &gt; db.dealsite.Deal.count()
  0
  </code></pre>
  
  <p>Where are my records hiding?</p>