I want to generate a list (dropdown) with habtm relationship. For example I have a table called "users" another called "vehicles" and "users_vehicles".
What I want is to get vehicles assigned to "x" user and put it in a drop-down. How can I achieve this?
class User extends AppModel { var $hasAndBelongsToMany = array('Vehicle'); }