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...
1 parent ef32c57 commit edc7aaac78507c943022c1bd9180c4172169fb66 @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 edc7aaa

Please sign in to comment.