Backport a94966e #14327

Merged
merged 1 commit into from Mar 8, 2014

Projects

None yet

3 participants

@zzak
Member
zzak commented Mar 8, 2014

From #14244

@arthurnn @zzak arthurnn 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.
af39f58
@arthurnn
Member
arthurnn commented Mar 8, 2014

👍

@spastorino spastorino merged commit 93086d2 into rails:4-1-stable Mar 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment