i ve got two models,
"Question" and "Answer"
A "question" can have many "answers", or none.
I want to order my questions by answers date or question date if it
has no answer,
i tried to do that :
Question.find(:all, :order=>"answers.date DESC, questions.date DESC")
But questions without answers appear always after questions with
answers, even when the question was created after an answer..
Could you give me an hints ?
Thanks a lot..