instance method
to_ary
Ruby on Rails 6.0.6
Since v4.0.13Signature
to_ary()
Returns an array of hashes representing each row record.
Source
# File activerecord/lib/active_record/result.rb, line 85
def to_ary
hash_rows
end
Defined in activerecord/lib/active_record/result.rb line 85
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Result