demonstrates an issues with default_scope and joins in rails 4