instance method
_deprecated_spawn
Ruby on Rails 6.0.6
Since v6.0.6 Last seen in v6.0.6 Private — implementation detail, not part of the public APISignature
_deprecated_spawn(name)
No documentation comment.
Parameters
-
namereq
Source
# File activerecord/lib/active_record/relation.rb, line 774
def _deprecated_spawn(name)
spawn.tap { |scope| scope._deprecated_scope_source = name }
end
Defined in activerecord/lib/active_record/relation.rb line 774
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Relation