[Rails] Re: Using will_paginate with arbitrary sql queries

2009-11-07 Thread mike
You also could use paginate_by_sql 2009/11/7, C K Kashyap : > > 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 r

[Rails] Re: Using will_paginate with arbitrary sql queries

2009-11-07 Thread Frederick Cheung
On Nov 7, 5:40 am, C K Kashyap wrote: > 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