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