diff options
author | Kevin Cheng <Kache@users.noreply.github.com> | 2016-01-29 17:44:04 -0500 |
---|---|---|
committer | Gannon McGibbon <gannon.mcgibbon@shopify.com> | 2018-09-18 16:40:10 -0400 |
commit | 16510d609c601aa7d466809f3073ec3313e08937 (patch) | |
tree | a7f1ccbc273008772d6611d9f882acb853aa4f8a /activerecord/lib/active_record/inheritance.rb | |
parent | e925cb4d856088a815bf4a0cf27518d01bb4029d (diff) | |
download | rails-16510d609c601aa7d466809f3073ec3313e08937.tar.gz rails-16510d609c601aa7d466809f3073ec3313e08937.tar.bz2 rails-16510d609c601aa7d466809f3073ec3313e08937.zip |
Deprecate ActiveRecord::Result#to_hash in favor of #to_a
method returns an array of hashes, not a hash
e.g. Hash.try_convert(result) calls #to_hash and raises a TypeError
[Gannon McGibbon + Kevin Cheng]
Diffstat (limited to 'activerecord/lib/active_record/inheritance.rb')
0 files changed, 0 insertions, 0 deletions