one Article has many Comments, and i want to fetch all Articles that have Comments match a condition.
Article.find(:joins => :comments ...)
fetch the duplicate records
and
Article.find(:include => :comments ...)
will also fetch the Comment data,I just want to fetch the uniq Article data
You can try using
or with syntax you’re using