instance method
length
Ruby on Rails 8.1.2
Since v4.2.9Signature
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