Will_paginate and :order

Does someone uses the :order paramter?

My queries will always ordered by created_at.

Thanx


Jochen K.

Jochen K. wrote:

Does someone uses the :order paramter?

My queries will always ordered by created_at.

Thanx


Jochen K.

yes, I always use the :order parameter, what’s the problem with that?I
usually do will_paginate …, :order => ‘created_at DESC’

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs