title: Cakephp: Associations not working
body: <p>I want to do a simple cakephp association program but it's not working.
  I have two database tables: <code>users</code> and <code>sec_datas</code>. When i run this program it just shows the result of first row of <code>users</code> table, not the result of both tables which have same <code>sec_id</code> value.</p>
  
  <p>Controller code:</p>
  
  <pre><code>&lt;?php
  class UsersController extends AppController
  {
      public function  index()
      {
          $this-&gt;autoRender = FALSE;
          $this-&gt;loadModel('User');
          $storeDivisions = $this-&gt;User-&gt;find();
          echo "&lt;pre&gt;";
          print_r($storeDivisions);
          echo "&lt;/pre&gt;";
      }
  }
  </code></pre>
  
  <p>Model code:</p>
  
  <pre><code>&lt;?php
  class User extends AppModel {
      public $useTable='users';
  
      public $hasOne = array(
          'Sec_data' =&gt; array(
              'ClassName' =&gt; 'Sec_data',
              'Conditions' =&gt; array('User.sec_id=Sec_data.sec_id'),
              'Dependent' =&gt; false
          )
      );  
  }
  ?&gt;
  </code></pre>