Please show the code that you have in the put method.
Enjoy,
   John

On Mar 4, 7:36 pm, mathaios <[email protected]> wrote:
> Hallo all bakers! I hope someone can help me...
>
> I have two models related trough a "to many-belongs to" relationships.
> I've set in model2 a method called "put" that do some db manipulation.
>
> But when I call the "put" method from the related model1 controller
> (as $this->model1->model2->put() ) the method name get's executed like
> an SQL query!
> But if I call something like e.g. $this->model1->model2->find('all')
> records are correctly fetched.
>
> What can be the problem? I'm getting mad on this !
> Thanks for any advice

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to