rails/rails — pull request #10757 by eiel (2013-05-26 02:26:13+00:00)
Title: Module#deprecate dependency ActiveSupport::Deprecation

I used Module#deprecate and raised NoMethodError

```ruby
require 'active_support/core_ext/module/deprecation'

class Foo
def foo
end
deprecate :foo # raise NoMethodError: undefined method `deprecate_methods' for ActiveSupport::Deprecation:Class
end

Foo.new.foo
```

The following is satisfactory:

```ruby
require 'active_support/deprecation'
require 'active_support/core_ext/module/deprecation'

class Foo
def foo
end
deprecate :foo
end

Foo.new.foo
```