You can use #from
to build sub-queries...
Useful when you want to chain on a scope that uses SELECT DISTINCT and ORDER BY...
Posted by Greg to Ruby on Rails (2017-11-04 14:26)
You can use #from
to build sub-queries...
Useful when you want to chain on a scope that uses SELECT DISTINCT and ORDER BY...