aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/hash_with_indifferent_access.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-03-27 11:07:07 +0100
committerJosé Valim <jose.valim@gmail.com>2010-03-27 11:07:07 +0100
commit418e5fc279b19c0d35d3f2b6b5ce216a566c8fc2 (patch)
tree33d51b954b8f6cac5e64e64d2152d6b0ca8cc40c /activesupport/lib/active_support/hash_with_indifferent_access.rb
parent0cb3311d06c02649fb7444c34b6fdf2214ab85f5 (diff)
parenta24a888afe5652e391ce2ea682596686af5ec58b (diff)
downloadrails-418e5fc279b19c0d35d3f2b6b5ce216a566c8fc2.tar.gz
rails-418e5fc279b19c0d35d3f2b6b5ce216a566c8fc2.tar.bz2
rails-418e5fc279b19c0d35d3f2b6b5ce216a566c8fc2.zip
Merge branch 'master' of gitproxy:rails/rails
Diffstat (limited to 'activesupport/lib/active_support/hash_with_indifferent_access.rb')
-rw-r--r--activesupport/lib/active_support/hash_with_indifferent_access.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb
index 543dab4a75..8241b69c8b 100644
--- a/activesupport/lib/active_support/hash_with_indifferent_access.rb
+++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -4,6 +4,10 @@
module ActiveSupport
class HashWithIndifferentAccess < Hash
+ def extractable_options?
+ true
+ end
+
def initialize(constructor = {})
if constructor.is_a?(Hash)
super()