diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-06 07:31:44 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-06 07:31:44 -0800 |
commit | cea4f76ff954cd8c57484b2bce456c3ef03a3c5e (patch) | |
tree | defa91a82c2c44ecdbaede65c7190237ef8db1f7 | |
parent | 2f8e5f627d357e3451f5cf3ab27c18ba0ac1f1c7 (diff) | |
parent | 7003e71c13c53ec3d34250560fbf80b8381df693 (diff) | |
download | rails-cea4f76ff954cd8c57484b2bce456c3ef03a3c5e.tar.gz rails-cea4f76ff954cd8c57484b2bce456c3ef03a3c5e.tar.bz2 rails-cea4f76ff954cd8c57484b2bce456c3ef03a3c5e.zip |
Merge pull request #8780 from diogomafra/require_core_ext
Require 'active_support/core_ext/module/aliasing' in the infinite_comparable module
When requiring 'active_support/core_ext', the following error is raised:
undefined method `alias_method_chain' for Date:Class (NoMethodError)
Adding the missing require to this module fixes the problem.
-rw-r--r-- | activesupport/lib/active_support/core_ext/infinite_comparable.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/infinite_comparable.rb b/activesupport/lib/active_support/core_ext/infinite_comparable.rb index df9cde7db0..b78b2deaad 100644 --- a/activesupport/lib/active_support/core_ext/infinite_comparable.rb +++ b/activesupport/lib/active_support/core_ext/infinite_comparable.rb @@ -1,4 +1,5 @@ require 'active_support/concern' +require 'active_support/core_ext/module/aliasing' require 'active_support/core_ext/object/try' module InfiniteComparable |