2014-01-13 Ruby on Rails API の中の LEFT OUTER JOIN の記述のメモ Rails Ruby on Rails API ActiveRecord::Associations::ClassMethods Post.includes([:author, :comments]).where(['comments.approved = ?', true])