You also could use paginate_by_sql 2009/11/7, C K Kashyap <[email protected]>: > > Hi All, > I have a situation where I have a task model, tag model and a link > table task_tags. > > In a particular view, I need to display a list of task that have a > certain tags - > For this, I'd need to run a query and get the results that would need > to be paginated - so I cannot really call > paginate on the Task model itself. > > 1. What is a good way to deal with this situation? > 2. In general, how can I use will_paginate plugin on arbitrary sql queries. > > -- > Regards, > Kashyap > > > >
-- Von meinen Mobilgerät aus gesendet --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

