Hi,
I'm trying to design my app to have fat models and skinny controllers
where possible but having a problem with one particular part of that:
retrieval of associated models.
I have models Foo and Bar, where (Foo hasOne Bar) and (Bar belongsTo
Foo), which map to DB tables 'foos' and 'bars'
is a string which contains its alias
(surprise!)
On Dec 11, 12:15 pm, [rob desbois] [EMAIL PROTECTED] wrote:
Hi, I have some code looking likehttp://bin.cakephp.org/view/11696180
Basically, my Configuration model aliases an associated Mtie model to
ExceptionMask.
In implementing Mtie
Hi, I have some code looking like http://bin.cakephp.org/view/11696180
Basically, my Configuration model aliases an associated Mtie model to
ExceptionMask.
In implementing Mtie::afterFind($results) I discovered that $results
uses the alias ExceptionMask instead of the model name Mtie, as would