Can you provide an example of how you would like to see it with merge
method?
My real-life case is more like that(we use Paranoia gem, but I show a
simplified version):
class Article < ApplicationRecord
has_many :articles_tags
has_many :tags, through: :articles_tags
default_scope { whe
Maybe the clearer way to apply it would be to allow unscoping via the merge
method?
I think the overall idea is worth pursuing in some fashion. We often have
big queries with lots of joins on aggregate dashboards, and ordering on
default scopes for joined models adds wasted expense to queries. The