Will_paginate, not overriding order on has_many

I have a paginate call like this:

@person.chats.paginate :per_page => 50, :page => params[:page], :order
=>
“created_at ASC”

which you’d think would order by created_at in ascending order…

Wrong!

If I have has_many :chats, :order => “created_at DESC” on my Person
model,
it will attempt to do both and return a bastard set of results.

On Sep 29, 3:04 pm, “Ryan B. (Radar)” [email protected]
wrote:

it will attempt to do both and return a bastard set of results.
Are you using Rails 2?