method

value_for

rails latest stable - Class: ActiveRecord::Scoping::ScopeRegistry
value_for(scope_type, model, skip_inherited_scope = false)
private

Obtains the value for a given scope_type and model.