diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-05-13 17:13:55 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-06-09 12:48:56 +0200 |
commit | db519c0c9a8d3d4f5afa2029408de5a860e037c1 (patch) | |
tree | a574ee5e85698a5a11e76eb16518ee729066bc2c /activerecord | |
parent | ae6e6d953084d1966e52cc06ffe24131f0115cc1 (diff) | |
download | rails-db519c0c9a8d3d4f5afa2029408de5a860e037c1.tar.gz rails-db519c0c9a8d3d4f5afa2029408de5a860e037c1.tar.bz2 rails-db519c0c9a8d3d4f5afa2029408de5a860e037c1.zip |
cleanup whitespace in relation.rb
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |