title: CakePHP - How can I find all languages with tongue twisters?
body: <p><strong>Model</strong></p>
  
  <pre><code>&lt;?php
  class Tonguetwister extends AppModel {
          var $name = 'Tonguetwister';
          //The Associations below have been created with all possible keys, those that are not needed can be removed
  
          var $belongsTo = array(
                  'language' =&gt; array(
                          'className' =&gt; 'language',
                          'foreignKey' =&gt; 'language_alias',
                          'dependent'=&gt; true
                  )
          );
  }
  ?&gt;
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>&lt;?php
  class TonguetwistersController extends AppController {
  
          var $name = 'Tonguetwisters';
          var $uses = array('Tonguetwister', 'Language');
  
          function index() {
                  $this-&gt;set('languages', $this-&gt;Language-&gt;find('all'));
          }
  
          function view($id = null) {
                  if (!$id) {
                          $this-&gt;Session-&gt;setFlash(__('Invalid tonguetwister', true));
                          $this-&gt;redirect(array('action' =&gt; 'index'));
                  }
                  $this-&gt;set('tonguetwisters', $this-&gt;Tonguetwister-&gt;find('all', array('conditions' =&gt; array('language_alias' =&gt; $id))));
          }
  
  }
  ?&gt;  
  </code></pre>
  
  <p>I only want to see languages on index() that have tongue twisters. How can I do this?</p>