[Rails] Re: Different Order by clause on will_paginate pages?

2011-10-27 Thread Hussam Ali
Frederick Cheung wrote in post #1028581: On Oct 26, 10:25am, Hussam Ali li...@ruby-forum.com wrote: pagination. Anybody have any idea? That sounds like two mutually contradictory aims. You could perhaps have a single 'random' page and then a series of paginated by created_at pages. If you

Re: [Rails] Re: Different Order by clause on will_paginate pages?

2011-10-27 Thread Walter Lee Davis
On Oct 27, 2011, at 2:46 AM, Hussam Ali wrote: Frederick Cheung wrote in post #1028581: On Oct 26, 10:25am, Hussam Ali li...@ruby-forum.com wrote: pagination. Anybody have any idea? That sounds like two mutually contradictory aims. You could perhaps have a single 'random' page and then

[Rails] Re: Different Order by clause on will_paginate pages?

2011-10-26 Thread Frederick Cheung
On Oct 26, 10:25 am, Hussam Ali li...@ruby-forum.com wrote: Hi im trying to list random records on first page and from 2nd page to onwards, i need to show records by created_at using will_paginate plugin but i can only apply one of these condition at a time. Im showing based on order clause