Skip to content
Browse files

Fixes NoMethodError: `alias_method_chain` when requiring just active_…

…support/core_ext

* Each file that uses `alias_method_chain` brings it in explicitly
  • Loading branch information...
1 parent 42da93c commit b2de3f729496a223d64f9b55192d1b19bda4fc25 @alindeman alindeman committed May 12, 2013
View
2 activesupport/lib/active_support/core_ext/marshal.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/module/aliasing'
+
module Marshal
class << self
def load_with_autoloading(source)
View
2 activesupport/lib/active_support/core_ext/range/include_range.rb
@@ -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 b2de3f7

Please sign in to comment.
Something went wrong with that request. Please try again.