If Priority has many tickets then you should start with the Priority.php
model and add the following:
public $hasMany = array(
'Tickets' => array(
'className' => 'Ticket',
'foreignKey' => 'priority_id',
)
);
Then your Ticket.php
model class looks fine, however, I would write it in the following manner:
public $belongsTo = array(
'Priority' => array(
'className' => 'Priority',
'foreignKey' => 'priority_id',
)
);
You have to ensure that the table Tickets
in your Db has a column named priority_id
so we have the correct relationship set.
Then in your Ticket Controller something like this should easily work:
$priorities = $this->Ticket->Priority->find('list');
If this does not work, if you want to zip both of your model classes and your controller and send them to me I will be glad to look at it. To make things easier you can send along the structure of both the priority and ticket tables.