Permalink
Browse files

Merge pull request #10584 from alindeman/range-missing-alias-attribute

Fixes NoMethodError: `alias_method_chain` when requiring just active_support/core_ext
  • Loading branch information...
2 parents e81a1a4 + b2de3f7 commit 4c0fa443fdaf43e8403b6fc29f6f5a939f764edb @rafaelfranca rafaelfranca committed May 13, 2013
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/module/aliasing'
+
module Marshal
class << self
def load_with_autoloading(source)
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/module/aliasing'
+
class Range
# Extends the default Range#include? to support range comparisons.
# (1..5).include?(1..5) # => true

0 comments on commit 4c0fa44

Please sign in to comment.