This project is archived and is in readonly mode.
Changeset [a24a888afe5652e391ce2ea682596686af5ec58b] by wycats
Revision a24a888afe5652e391ce2ea682596686af5ec58b,
committed 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]
http://github.com/rails/rails/commit/a24a888afe5652e391ce2ea6825966...
3 changed files
-
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