On Sep 29, 3:04 pm, "Ryan Bigg (Radar)" <[EMAIL PROTECTED]> wrote: > 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.
Are you using Rails 2? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

