Namespace queries in ActiveRecord scopes.