It’s visually annoying to see every URL with escape=false appended to
it. It doesn’t even makes sense, disabling the escaping through a GET
parameter? What?
How do I disable it so the pages show up like ?page=1, instead of
?page=1&escape=false ? -.-
zequez
August 8, 2011, 9:47pm
2
On Aug 8, 5:58pm, Ezequiel S. [email protected] wrote:
It’s visually annoying to see every URL with escape=false appended to
it. It doesn’t even makes sense, disabling the escaping through a GET
parameter? What?
I’ve never seen that before. How are you invoking will_paginate?
Fred
zequez
August 9, 2011, 3:00pm
3
That might be a bug with older versions. For Rails 3, use will_paginate
3.0.pre4 or later:
gem “will_paginate”, “~> 3.0.pre4”
zequez
August 10, 2011, 2:32am
4
Mislav MarohniÄ? wrote in post #1015695:
That might be a bug with older versions. For Rails 3, use will_paginate
3.0.pre4 or later:
gem “will_paginate”, “~> 3.0.pre4”
Darn, I feel stupid for not trying that first, thanks haha
zequez
August 10, 2011, 2:27pm
5
On Aug 9, 2011, at 8:32 PM, Ezequiel S. wrote:
Mislav Marohni? wrote in post #1015695:
That might be a bug with older versions. For Rails 3, use
will_paginate
3.0.pre4 or later:
gem “will_paginate”, “~> 3.0.pre4”
Darn, I feel stupid for not trying that first, thanks haha
–
Also, look closely at Kaminari for a nice replacement. I haven’t tried
Will Paginate on 3, not since I found Kaminari.
Walter
zequez
August 10, 2011, 5:29pm
6
Walter D. wrote in post #1015942:
On Aug 9, 2011, at 8:32 PM, Ezequiel S. wrote:
Mislav Marohni? wrote in post #1015695:
That might be a bug with older versions. For Rails 3, use
will_paginate
3.0.pre4 or later:
gem “will_paginate”, “~> 3.0.pre4”
Darn, I feel stupid for not trying that first, thanks haha
–
Also, look closely at Kaminari for a nice replacement. I haven’t tried
Will Paginate on 3, not since I found Kaminari.
Walter
Thanks! I will definitely take a look at it!
For the curious coming from Google (?) here is a link to a
nice tutorial of Kaminari
(http://asciicasts.com/episodes/254-pagination-with-kaminari ) I found.