search for: paginate_pag

Displaying 2 results from an estimated 2 matches for "paginate_pag".

Did you mean: paginate_pages
2006 Jan 06
2
Paginate from a difficult sql query
...BY id DESC") So the return is : +----------------------+ | id | user_id | name | +----------------------+ | 2 | 2 | test2 | | 1 | 1 | test1 | +----------------------+ Everything is good, but I want to have this return directly in a paginate. Like : @paginate_pages, @colors = paginate :colors, :per_page => 6, :order => "id DESC", :conditions =&gt...
2006 Jan 19
8
Pagination_links without "?page=" but with params[:id]
...="/users/infos/1">1</a> <a href="/users/infos/3">3</a> I need to remove the "?page=" parameters and rewrite a little the link ( with a link_to ? ) How can I do this ? Need to use pagination_links_each ? Use options ? Thanks controller : *** @paginate_pages, @users = paginate :users, :per_page => 1, :order => "id DESC" view: *** <%= pagination_links @paginate_pages, :window_size => 1 %> in html: *** <a href="/users/infos/3?page=1">1</a> 2 <a href="/users/infos/3?page=3">3</a&...