aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/ordered_options_test.rb
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-03-27 02:59:10 -0700
committerwycats <wycats@gmail.com>2010-03-27 02:59:10 -0700
commita24a888afe5652e391ce2ea682596686af5ec58b (patch)
treef1a4c43fe0faecc64084a90fcec530615c91c66d /activesupport/test/ordered_options_test.rb
parentb081948bb3e1a6874f133140bf07e7fb9d3359d9 (diff)
downloadrails-a24a888afe5652e391ce2ea682596686af5ec58b.tar.gz
rails-a24a888afe5652e391ce2ea682596686af5ec58b.tar.bz2
rails-a24a888afe5652e391ce2ea682596686af5ec58b.zip
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]
Diffstat (limited to 'activesupport/test/ordered_options_test.rb')
0 files changed, 0 insertions, 0 deletions