# Make ActiveSupport::OrderedHash iteration methods return 	itself

**URL:** <https://discuss.rubyonrails.org/t/make-activesupport-orderedhash-iteration-methods-return-itself/46926>\
**Category:** rubyonrails-core\
**Tags:** patch\
**Created:** [October 19, 2009, 1:00pm UTC](https://discuss.rubyonrails.org/t/make-activesupport-orderedhash-iteration-methods-return-itself/46926 "2009-10-19T13:00:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evgeniy\_Dolzhenko](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@Evgeniy\_Dolzhenko](https://discuss.rubyonrails.org/u/Evgeniy_Dolzhenko)\
**Post date:** [October 19, 2009, 1:00pm UTC](https://discuss.rubyonrails.org/t/make-activesupport-orderedhash-iteration-methods-return-itself/46926/1 "2009-10-19T13:00:09Z")

</div>

Hi!

Just posted really tiny patch which makes ActiveSupport::OrderedHash more compatible with native Hash implementation:

[https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3393](https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3393)

Sincerely, Evgeniy
