all.scoped doesn't work on relations. Replaced with #all
all.scoped doesn't work on relations. Replaced with #all

Reference https://github.com/rails/rails/issues/12756, Fixes ` undefined method 'scoped' for #<ActiveRecord::AssociationRelation []>`

ari/jobsworth,ari/jobsworth,ari/jobsworth,ari/jobsworth