diff options
author | Andrew White <andrew.white@unboxed.co> | 2016-11-02 11:40:46 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2016-11-02 11:40:46 +0000 |
commit | f762cf05a55b827684b756f6affdcd54923003c0 (patch) | |
tree | 03b411a9009ab3be6d501c64fa705ffc49a41c84 /activerecord/test/cases/helper.rb | |
parent | abe70e8ba18979a4519849f5276a82260f2a4cc4 (diff) | |
download | rails-f762cf05a55b827684b756f6affdcd54923003c0.tar.gz rails-f762cf05a55b827684b756f6affdcd54923003c0.tar.bz2 rails-f762cf05a55b827684b756f6affdcd54923003c0.zip |
Fix AS::OrderHash#select and #reject on Ruby 2.1.1+
In Ruby 2.1.1 and later select and reject return a new instance of
Hash rather than the subclass so we need to override them to return
an instance of the correct class.
Diffstat (limited to 'activerecord/test/cases/helper.rb')
0 files changed, 0 insertions, 0 deletions