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:
parent
ae6e6d9530
commit
db519c0c9a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue