will-paginate Questions

1

Solved

i'm building a news section on my rails website and it uses will_paginate for pagination. now i was wondering how i can specify a custom offset for the first page with will_paginate. something like...
Caloyer asked 22/9, 2011 at 10:46

1

Solved

I am using admin_assistant and have hacked on MongoDB support. The only issue now is that the index page queries are incredibly slow. admin_assistant uses will_paginate for these queries. I verifie...
Floriculture asked 7/9, 2011 at 19:46

2

Solved

I have 8 controllers using will_paginate to paginate their index pages. I'd like to override the defaults for "Previous" and "Next" on each without having to specify the same options 8 times. Is th...
Tabling asked 16/8, 2011 at 5:2

1

Solved

I am working with will_paginate plugin in Rails 3 and I am trying to get to some variable the count of pages (total_pages). I thought the total pages is in globally variable @total_pages, or in @o...
Unlimited asked 7/8, 2011 at 22:39

1

Solved

I am having a problem gettin my Rails 3.1.0.rc4 application running because of an error or conflict with will_paginate gem. The error produced when I try to start the server is as follows: /User...
Adinaadine asked 17/6, 2011 at 8:1

3

Solved

How can I use will_paginate with a custom route? I have the following in my routes: map.connect 'human-readable/:name', :controller => :tags, :action => 'show' but will_paginate uses url_...
Cloy asked 14/3, 2010 at 8:47

0

I'm paginating the following query with Kaminari (though I get similar results with will_paginate): Person.joins([:locations=>:location_hour], :friends, :current_images).where(sql_conditions_s...
Conall asked 12/5, 2011 at 18:5

2

Solved

I'm using the will_paginate gem. The default is 30 elements per page. How do I customize this?
Christean asked 23/3, 2011 at 0:29

3

Solved

I am trying to limit the number of elements returned with mislav's will paginate with Rails 3. I am currently using: # Gemfile gem 'will_paginate', :git => 'git://github.com/mislav/will_paginat...
Pulsatory asked 22/6, 2010 at 17:56

1

Solved

Hello I am using will_paginte plugin on two objects on a same page. Like on stackoverflow. There is a profile page on which there is a pagination on two things QUestions and answers. I am having ...
Lubber asked 18/6, 2010 at 11:4

4

Solved

I'm using will_paginate for pagination, which has been working well so far, except for this one thing. If I try to paginate a scope, for instance class User < ActiveRecord::Base named_scope ...
Organdy asked 7/5, 2010 at 22:45

3

Solved

me again... I need show 10 or 20 or 50 results number of results per page with a select options in my list of posts using will_paginate plugin Can you help me please? Thanks!
Insupportable asked 15/8, 2009 at 3:40

1

Solved

I'm using the will_paginate gem for my Rails project and it's working beautifully. Unfortunately, on paginated result sets with a larger number of pages, the link section is too wide. Instead of: ...
Allay asked 15/4, 2010 at 1:36

1

Solved

I generally use will_paginate for the pagination in my app, but have hit a stumbler on my search feature. I'm using Thinking Sphinx for doing my full-text search, which returns results paginated. T...

1

Solved

will_paginate plugin aways generates the pagination to the current url appending the page parameter. Is there a way to change this? I need it to paginate to another controller/action plus some arg...
Needlepoint asked 3/3, 2010 at 19:22

1

I'm new to Rails, and I'm having major trouble getting will_paginate to work with a nested resource. I have two models, Statement and Invoice. will_paginate is working on Statement, but I can't ge...
Dachshund asked 23/9, 2009 at 13:18

1

Solved

I have a current implementation of will_paginate that uses the paginate_by_sql method to build the collection to be paginated. We have a custom query for total_entries that's very complicated and p...
Brig asked 14/9, 2009 at 14:11

4

Solved

I want to give users the ability to page through my blog posts in random order. I can't implement it like this: @posts = Post.paginate :page => params[:page], :order => 'RANDOM()' since t...
Hotien asked 1/5, 2009 at 5:10

© 2022 - 2024 — McMap. All rights reserved.