This project is archived and is in readonly mode.

Changeset [a24a888afe5652e391ce2ea682596686af5ec58b] by wycats

March 27th, 2010 @ 09:59 AM

Limit Array#extract_options! to directl instances of Hash and HWIA. Add extractable_options? to Hash so that subclasses of Hash can opt-into extractable behavior. This fixes an issue where respond_with wasn't working with subclasses of Hash that were provided by other libraries (such as CouchDB or Mashie) [#4145 state:resolved]

Committed by wycats

  • M activesupport/lib/active_support/core_ext/array/extract_options.rb
  • M activesupport/lib/active_support/hash_with_indifferent_access.rb
  • M activesupport/test/core_ext/array_ext_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>