method
empty?
v2.2.1 -
Show latest stable
- Class:
ActiveRecord::NamedScope::Scope
empty?()public
No documentation available.
# File activerecord/lib/active_record/named_scope.rb, line 143
def empty?
@found ? @found.empty? : count.zero?
end