activerecord joins vs includes code example
Example: joins vs includes
# include is a larger SQL query than joins, loading all
# attributes from other tables into memory
# include is a larger SQL query than joins, loading all
# attributes from other tables into memory