rails/rails — pull request #10584 by alindeman (2013-05-13 02:48:13+00:00)
Title: Fixes NoMethodError: `alias_method_chain` when requiring just active_support/core_ext

This is also present in 4.0.0.rc1. It should be cherry-pickable to
`4-0-stable`.

```
2.0.0-p0 :001 > require 'active_support/core_ext'
NoMethodError: undefined method `alias_method_chain' for Range:Class
from /home/alindeman/workspace/rails/activesupport/lib/active_support/core_ext/range/include_range.rb:20:in `'
from /home/alindeman/workspace/rails/activesupport/lib/active_support/core_ext/range/include_range.rb:1:in `'
from /home/alindeman/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /home/alindeman/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /home/alindeman/workspace/rails/activesupport/lib/active_support/core_ext/range.rb:2:in `'
from /home/alindeman/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /home/alindeman/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /home/alindeman/workspace/rails/activesupport/lib/active_support/core_ext.rb:3:in `block in '
from /home/alindeman/workspace/rails/activesupport/lib/active_support/core_ext.rb:1:in `each'
from /home/alindeman/workspace/rails/activesupport/lib/active_support/core_ext.rb:1:in `'
from /home/alindeman/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /home/alindeman/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from (irb):1
from /home/alindeman/.rvm/rubies/ruby-2.0.0-p0/bin/irb:16:in `

'
```