title: can't add dependencies in Sequlize
body: <h1>using node.js and Sequelize.js</h1>
  
  <h2>have two tables in MySQL:</h2>
  
  <p>device </p>
  
  <ul>
  <li>id</li>
  <li>name</li>
  <li>...</li>
  </ul>
  
  <p>device_track</p>
  
  <ul>
  <li>id</li>
  <li>device_id</li>
  <li>pos</li>
  <li>...</li>
  </ul>
  
  <p>how can i add dependencies between theese two tables?</p>
  
  <pre><code>//include models
  Device_track.hasOne(Device,{ foreignKey: 'device_id'})
  Device_track.findAll({limit:1}).success(function(projects) {
      for (var k in projects)
      {
          console.log(projects[k].dataValues);
          console.log(projects.getDevice()); //or .getDevices returns error (method not found)
          console.log("\n");
      }
  })
  </code></pre>