method

_exec_scope

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActiveRecord::Relation
_exec_scope(...) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation.rb, line 471
    def _exec_scope(...) # :nodoc:
      @delegate_to_klass = true
      registry = klass.scope_registry
      _scoping(nil, registry) { instance_exec(...) || self }
    ensure
      @delegate_to_klass = false
    end
Register or log in to add new notes.