method

scoping

rails latest stable - Class: ActiveRecord::Associations::CollectionProxy

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

scoping()
public

We don’t want this object to be put on the scoping stack, because that could create an infinite loop where we call an @association method, which gets the current scope, which is this object, which delegates to @association, and so on.