Displaying 1 result from an estimated 1 matches for "myauthor".
Did you mean:
myauthors
2006 Dec 18
2
Find, paginate, conditions and associations
Hi, I''m trying to figure out how to use paginate when one of the
conditions depends on the association between one model and another.
For example: I have a model Authors which has_many Posts. I would like
to find all the authors and order them by the number of posts that they
have published and then paginate those results.
What if I wanted to base the paginate condition on all the