title: How to change cakephp selection field after bake relational table ?
body: <p>I have two table users and Areas.Areas has a relation with users.So I have add users_id in Areas table.After bake I get the output fine.But here in areas add form user field is showing users_id in select box.Here I want to show users_name.How can I change it? </p>
  
  <p>Here is the model code </p>
  
  <pre><code>MadAreas' =&gt; array(
              'className' =&gt; 'MadAreas',
              'foreignKey' =&gt; 'users_id'
  )
  </code></pre>
  
  <p>In controller</p>
  
  <pre><code>$madAreas = $this-&gt;MadArea-&gt;Users-&gt;find('list');
  </code></pre>
  
  <p>In add.ctp </p>
  
  <pre><code> echo $this-&gt;Form-&gt;input('users_id',array( 'label' =&gt; false, 'class'=&gt;'form-control' ));
  </code></pre>