Ezequiel Schwartzman
2011-Aug-08 16:58 UTC
will_paginate appending escape=false to every page URL?
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 ? -.- -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2011-Aug-08 19:46 UTC
Re: will_paginate appending escape=false to every page URL?
On Aug 8, 5:58 pm, Ezequiel Schwartzman <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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> > How do I disable it so the pages show up like ?page=1, instead of > ?page=1&escape=false ? -.- > > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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" -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Oq9kvtMqx38J. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Ezequiel Schwartzman
2011-Aug-10 00:32 UTC
Re: will_paginate appending escape=false to every page URL?
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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Walter Lee Davis
2011-Aug-10 12:22 UTC
Re: Re: will_paginate appending escape=false to every page URL?
On Aug 9, 2011, at 8:32 PM, Ezequiel Schwartzman 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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Ezequiel Schwartzman
2011-Aug-10 15:29 UTC
Re: Re: will_paginate appending escape=false to every page URL?
Walter Davis wrote in post #1015942:> On Aug 9, 2011, at 8:32 PM, Ezequiel Schwartzman 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. > > WalterThanks! 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. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.