aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/ordered_hash.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix OrderedHash#inspect recursionJeremy Kemper2009-03-041-1/+1
|
* Fix OrderedHash#to_hash to return self instead of a new hash with self as ↵Jeremy Kemper2009-03-031-1/+1
| | | | default value
* add an inspect method to OrderedHash to make it clear that it is not a ↵Greg Borenstein2009-01-261-0/+4
| | | | | | | species of Array Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1782 state:committed]
* Dup keys in OrderedHash to prevent them from being modified [#1676 ↵Brandon Keepers2009-01-161-9/+22
| | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Make delete_if/reject faster and fix other mutatorsFrederick Cheung2008-12-151-13/+24
| | | | | | [#1559 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed ActiveSupport::OrderedHash #delete_if, #reject!, and #reject, which ↵Eloy Duran2008-12-111-0/+25
| | | | | | | | did not sync the @keys after the operation. This probably holds true for other mutating methods as well. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Rework ActiveSupport::OrderedHash to make lookups fasterFrederick Cheung2008-12-101-36/+23
| | | | | | [#1352 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Added ActiveSupport::OrderedHash#each_key and ↵Christoffer Sawicki2008-11-261-0/+8
| | | | | | ActiveSupport::OrderedHash#each_value [#1410 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Rubinious: work around h[k] ||= v returning []= result instead of vJeremy Kemper2008-06-101-0/+1
|
* Add more standard Hash methods to ActiveSupport::OrderedHash [#314 ↵Steve Purcell2008-06-031-0/+14
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Create a seperate file for ActiveSupport::OrderedHash.Joshua Peek2008-05-141-0/+43