Skip to content

Commit

Permalink
Merge pull request #10584 from alindeman/range-missing-alias-attribute
Browse files Browse the repository at this point in the history
Fixes NoMethodError: `alias_method_chain` when requiring just active_support/core_ext
  • Loading branch information
rafaelfranca committed May 13, 2013
1 parent ef32c57 commit edc7aaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activesupport/lib/active_support/core_ext/marshal.rb
@@ -1,3 +1,5 @@
require 'active_support/core_ext/module/aliasing'

module Marshal module Marshal
class << self class << self
def load_with_autoloading(source) def load_with_autoloading(source)
Expand Down
@@ -1,3 +1,5 @@
require 'active_support/core_ext/module/aliasing'

class Range class Range
# Extends the default Range#include? to support range comparisons. # Extends the default Range#include? to support range comparisons.
# (1..5).include?(1..5) # => true # (1..5).include?(1..5) # => true
Expand Down

0 comments on commit edc7aaa

Please sign in to comment.