Query objects are a fairly well known concept in Rails these days. Theyâre useful to extract complex SQL queries into their own classes, which would otherwise clutter ActiveRecord models. What if you turned a complex scope which is already used all over your application into a query object? Do you have to refactor all of these occurences? The following ActiveRecord model has a scope returning popu
{{#tags}}- {{label}}
{{/tags}}