title: Get values from associated table with Sequelize.js
body: <pre><code>team table               match table
  ===========     ================================
  tid= name       mid=   date =home_team=away_team
  =============   ================================
  01 = denver     01 =10.11.13 =   01    =   04
  02 = minesota   02 =11.11.13 =   02    =   03
  03 = orlando    03 =11.11.13 =   04    =   02
  04 = portland   04 =12.11.13 =   03    =   01
  </code></pre>
  
  <p>I have a classical SQL JOIN problem - filled the match data and can't get the names of home and away teams that located in another table. </p>
  
  <pre><code>var Team = sequelize.define('Team', { ... });
  var Match = sequelize.define('Match',{ .. });
  
  Team.hasOne(Match, {foreignKey: 'home_team', as: 'Home'})
  Team.hasOne(Match, {foreignKey: 'away_team', as: 'Away'});
  </code></pre>
  
  <p>As i understood from Docs after creating <code>as: 'Home</code> and <code>as: 'Away</code> i receive some 
  getters and setters like <code>Match.getHome</code> but i'm confused. how can i used it  </p>
  
  <pre><code>Match.find({where: {id: 1}}).success(function(match) {
      console.log(match);
  });
  </code></pre>