method

_exec_scope

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Relation
_exec_scope(*args, &block) 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 432
    def _exec_scope(*args, &block) # :nodoc:
      @delegate_to_klass = true
      registry = klass.scope_registry
      _scoping(nil, registry) { instance_exec(*args, &block) || self }
    ensure
      @delegate_to_klass = false
    end
Register or log in to add new notes.