Re: Changing field names, need help

2009-10-06 Thread brian
I can't think of a compelling reason to do that in Cake. I doubt doing that would play nicely with FormHelper, for one thing. On Tue, Oct 6, 2009 at 12:38 PM, PaulMan wrote: > > Hello, > > Select .  Workflow.id as Fa, Workflow.name as Fb ... > > How can this be done using the 'fields' pa

Changing field names, need help

2009-10-06 Thread PaulMan
Hello, Select . Workflow.id as Fa, Workflow.name as Fb ... How can this be done using the 'fields' parameter for example var $belongsTo = array( 'Workflow' => array( 'className' => 'Workflow', 'foreignKey' => 'workflow_id',