title: Cakephp FormHelper Create select box
body: <p>i am cakephp beginner.</p>
  
  <p>My Employee Model,</p>
  
  <pre><code>         class Employee extends AppModel {
              var $belongsTo = array(
                  'Department'=&gt;array(
                  'className'=&gt;'Department',
                  'foreignKey'=&gt;'department_id',
                  'conditions'=&gt;null,
                  'fields'=&gt;null
                 )
           );
            blah--
  </code></pre>
  
  <p>now in employee add.ctp i want to create a select box which list all the department.
  i was going through official cakephp 2.1 documentation (<a href="http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html" rel="nofollow">here</a>)
  it tells me to add </p>
  
  <pre><code>  $this-&gt;set('departments', $this-&gt;Employee-&gt;Department-&gt;find('list')); 
  </code></pre>
  
  <p>in my controller..</p>
  
  <p>i have no idea to put in which controller ? is it in EmployeesController or DepartmentsController? and in which action of controller?</p>
  
  <p>view to create select box (in add.ctp)</p>
  
  <pre><code>         echo $this-&gt;Form-&gt;input('Department');
  </code></pre>