method

_exec_scope

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