size()
Returns size of the records.
# File activerecord/lib/active_record/relation.rb, line 265 def size loaded? ? @records.length : count(:all) end