I think this'll be because you use the query:

SELECT count(*) FROM wiki_ratings

Whereas you have to alias the table name to the controller name,
'WikiRatings' or somesuch...  see the debug SQL output of other Cake
queries for how it's done.

I've had similar issues with the findBy methods.

Hope that helps!


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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