You can use the following:
$this->Requests->find('first', array('conditions' => array('username' => $username), 'order' => array('id' => 'DESC') ));
Where id is the primary key with automatic addition. This will give you the most recent (single) entry if you use the first method in the search, or use all instead.
If you are not using a primary key, you can try the following:
$this->Requests->find('first', array('conditions' => array('username' => $username), 'order' => array('request_time' => 'DESC') ));
source share