diff options
author | Arthur Neves <arthurnn@gmail.com> | 2014-02-26 15:22:52 -0500 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2014-03-07 12:30:20 -0500 |
commit | a94966ea094fcfd94cf09642d3a561af80c64602 (patch) | |
tree | b0bd592c6dcc628c92d7c33e979cbaa401806746 /tools | |
parent | f60b5249194d71a5a7ad152332400af39543628f (diff) | |
download | rails-a94966ea094fcfd94cf09642d3a561af80c64602.tar.gz rails-a94966ea094fcfd94cf09642d3a561af80c64602.tar.bz2 rails-a94966ea094fcfd94cf09642d3a561af80c64602.zip |
Fix OrderedHash.select to return self instance.
On ruby 2.1.1 the behavior of .select and .reject has changed.
They will return a Hash new instance, so we need to override them to
keep the instance object class.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions