Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Patch] Add standard Hash methods to OrderedHash

#314

I had an app break after updating to 2.1, since AR.find.group_by now returns an OrderedHash, which doesn't support the standard Hash "key?" and "value?" methods, or the various aliases.

This little patch with tests adds those.

Reported by Steve Purcell · June 3rd, 2008 @ 08:56 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Steve Purcell
    Steve Purcell

    Oh, and that was just an upgrade from 2.0, BTW.

    June 3rd, 2008 @ 09:00 AM

  2. Repository
    Repository
    • State changed from new to resolved

    (from [7cfa6ec8a37b70ec302f09929df5160ac42971e7]) Add more standard Hash methods to ActiveSupport::OrderedHash [#314 state:resolved]

    Signed-off-by: Joshua Peek

    http://github.com/rails/rails/co...

    June 3rd, 2008 @ 08:15 PM