instance method
length
Ruby on Rails 8.1.3.1
Since v4.2.11.3Signature
length()
Returns the number of elements in the rows array.
Source
# File activerecord/lib/active_record/result.rb, line 125
def length
@rows.length
end
Defined in activerecord/lib/active_record/result.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Result