In Rails 5 Active Record provide two finder methods to specify JOIN on associated tables,
Suppose in our application we have
Article and Comment. Here comments belong to an article, while article have many comments. Now if we want to show list of all articles along with number of comments, we need join to Article and Comment by
In rails 4.x, Active Record does not have support for outer joins. So we need to add SQL for left outer...