method
target_scope
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Associations::ThroughAssociation
target_scope()protected
We merge in these scopes for two reasons:
1. To get the default_scope conditions for any of the other reflections in the chain 2. To get the type conditions for any STI models in the chain