Ruby on Rails Scope patterns and activerecord naming conventions http://filterrific.clearcove.ca/pages/active_record_scope_patterns.html#sort January 8, 2020 Lots of nice Rails SQL queries.