method
_deprecated_scope_block
rails latest stable - Class:
ActiveRecord::Relation
_deprecated_scope_block(name, &block)private
No documentation available.
# File activerecord/lib/active_record/relation.rb, line 763
def _deprecated_scope_block(name, &block)
-> record do
klass.current_scope = _deprecated_spawn(name)
yield record if block_given?
end
end