method

to_hash

rails latest stable - Class: ActiveRecord::Result

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

to_hash()
public

No documentation available.

# File activerecord/lib/active_record/result.rb, line 68
    def to_hash
      ActiveSupport::Deprecation.warn(        `ActiveRecord::Result#to_hash` has been renamed to `to_a`.        `to_hash` is deprecated and will be removed in Rails 6.1..squish)
      to_a
    end