Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Doc for ActiveRecord::Result empty? method

  • Loading branch information...
commit 89fff791fa55da09d39b09c7a5e5afe066f79f85 1 parent 61587b1
@robzolkos robzolkos authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  activerecord/lib/active_record/result.rb
View
1  activerecord/lib/active_record/result.rb
@@ -28,6 +28,7 @@ def to_hash
alias :map! :map
alias :collect! :map
+ # Returns true if there are no records.
def empty?
rows.empty?
end
Please sign in to comment.
Something went wrong with that request. Please try again.