Hi.
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 dropdown, how i can achieve this?
class User extends AppModel { var $hasAndBelongsToMany = array('Vehicle'); }