Skip to content

Commit

Permalink
let (array|hash)/conversions.rb load the extensions in object/to_(par…
Browse files Browse the repository at this point in the history
…am|query).rb
  • Loading branch information
fxn committed Oct 9, 2012
1 parent 3395633 commit 0787cea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
@@ -1,6 +1,8 @@
require 'active_support/xml_mini' require 'active_support/xml_mini'
require 'active_support/core_ext/hash/keys' require 'active_support/core_ext/hash/keys'
require 'active_support/core_ext/string/inflections' require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/object/to_param'
require 'active_support/core_ext/object/to_query'


class Array class Array
# Converts the array to a comma-separated sentence where the last element is # Converts the array to a comma-separated sentence where the last element is
Expand Down
@@ -1,8 +1,10 @@
require 'active_support/xml_mini' require 'active_support/xml_mini'
require 'active_support/time' require 'active_support/time'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/object/to_param'
require 'active_support/core_ext/object/to_query'
require 'active_support/core_ext/array/wrap' require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/hash/reverse_merge' require 'active_support/core_ext/hash/reverse_merge'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/inflections' require 'active_support/core_ext/string/inflections'


class Hash class Hash
Expand Down
2 changes: 0 additions & 2 deletions activesupport/test/core_ext/hash_ext_test.rb
Expand Up @@ -5,8 +5,6 @@
require 'active_support/ordered_hash' require 'active_support/ordered_hash'
require 'active_support/core_ext/object/deep_dup' require 'active_support/core_ext/object/deep_dup'
require 'active_support/inflections' require 'active_support/inflections'
require 'active_support/core_ext/object/to_param'
require 'active_support/core_ext/object/to_query'


class HashExtTest < ActiveSupport::TestCase class HashExtTest < ActiveSupport::TestCase
class IndifferentHash < HashWithIndifferentAccess class IndifferentHash < HashWithIndifferentAccess
Expand Down

0 comments on commit 0787cea

Please sign in to comment.