instance method
already_in_scope?
Ruby on Rails 6.0.6
Since v6.0.6 Private — implementation detail, not part of the public APISignature
already_in_scope?()
No documentation comment.
Source
# File activerecord/lib/active_record/relation.rb, line 767
def already_in_scope?
@delegate_to_klass && begin
scope = klass.current_scope(true)
scope && !scope._deprecated_scope_source
end
end
Defined in activerecord/lib/active_record/relation.rb line 767
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Relation