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