Skip to content
This repository
Browse code

Doc for ActiveRecord::Result empty? method

  • Loading branch information...
commit 89fff791fa55da09d39b09c7a5e5afe066f79f85 1 parent 61587b1
Rob Zolkos robzolkos authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  activerecord/lib/active_record/result.rb
1  activerecord/lib/active_record/result.rb
@@ -28,6 +28,7 @@ def to_hash
28 28 alias :map! :map
29 29 alias :collect! :map
30 30
  31 + # Returns true if there are no records.
31 32 def empty?
32 33 rows.empty?
33 34 end

0 comments on commit 89fff79

Please sign in to comment.
Something went wrong with that request. Please try again.