I have a problem in an application after upgrading from 1.2.0.6311
beta to RC3.

The controller has this statement in an action:
  $this->Advert->execute("update adverts set status='A' where id=1");

In RC3, the query that is actually fired to the database is the
string: 'execute'.
This obviously gives an error.

I noticed that the Model->execute method is no longer in the API
documentation or in the cookbook. Is the above problem a bug, or has
the execute method been deprecated?

Replacing execute by query seems to fix the problem:
  $this->Advert->query("update adverts set status='A' where id=1");

Thanks,
Mike
--~--~---------~--~----~------------~-------~--~----~
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