method

empty?

rails latest stable - Class: ActiveRecord::Result
empty?()
public

Returns true if there are no records, otherwise false.