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.