1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

cleanup whitespace in relation.rb

This commit is contained in:
Yves Senn 2013-05-13 17:13:55 +01:00
parent ae6e6d9530
commit db519c0c9a

View file

@ -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