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…


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.

Are you using Rails 2?