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
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
On Oct 22, 1:48 pm, Eduardo Bueno
wrote:
>
> def index
> @clients = Client.paginate :page => params[:page], :per_page => 5
> end
>
> and the code in clients/index.html.erb:
>
> <%= will_paginate @clients %>
>
> The problem is I don't see any client specification. The pagination is
> working f
3 matches
Mail list logo