From db519c0c9a8d3d4f5afa2029408de5a860e037c1 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Mon, 13 May 2013 17:13:55 +0100 Subject: [PATCH] cleanup whitespace in relation.rb --- activerecord/lib/active_record/relation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index d54479edbb..d37471e9ad 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -247,7 +247,7 @@ module ActiveRecord def empty? return @records.empty? if loaded? - c = count + c = count(:all) c.respond_to?(:zero?) ? c.zero? : c.empty? end