I’m sure I saw a post about this topic a while ago, but I haven’t been
able to
find it again.
I have this association:
has_many :sections, :class_name => “QuestionnaireSection”, :order =>
“position”,
:dependent => :destroy, :include => :questions
but since the Question object has a position column, the query comes
back with
Mysql::Error: Column ‘position’ in order clause is ambiguous:
Is there a way to get round this, or do I have to make do with unordered
questions?
Thanks,
Gareth