Re: Completely Stuck trying to list names of Contacts class

2012-11-29 Thread Jeremy Burns : Class Outfit
I assume you want to populate a field called 'contact_id' in your clients table? If so... Your Client model should have a belongsTo association with the Contact model: var $belongsTo = array( 'Contact' ); In the add (and also edit) action of your clients_controller: $contacts = $this->

Completely Stuck trying to list names of Contacts class

2012-11-28 Thread Andrew Cook
I just don't even kind of understand how to access my data.. I went through the blog tutorial and that was all fine, but for my application all I'm wanting to do is this: I want to create a new Client via a form, which I've created.. in a dropdown list box I want to list all of the names in th