Instead of putting here a bunch of code of my own, I'll ask you to
tell me the way you'd manage this:

Robot hasMany Rating
Robot has many other models linked.

Robot has some fields with info.
Rating has id, rating (integer), user_id and created

I want to paginate all robots' fields with their average rating from a
week to now without quering any other model than Rating.

--~--~---------~--~----~------------~-------~--~----~
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