如何在 rails/active 记录中执行联合(外部联接)查询?
...
FROM `parents`
LEFT JOIN `child` on parents.child_id = child.id
UNION
...
FROM `parents`
RIGHT JOIN `child` on parents.child_id = child.id
ORDER BY rate desc, grade desc, date desc;
..使用 Model.joins() ?