rails/rails — pull request #8518 by rwz (2012-12-15 14:00:50+00:00)
Title: AS::BasicObject cannot be inherited from

In #8454 `ActiveSupport::BasicObject` was deprecated. And this broke the inheritance.

AFIK, the class was made mainly to be inherited from. If you try doing something like this:

```ruby
class Foo < ActiveSupport::BasicObject
end
```

you'll get this error:
```
wrong argument type ActiveSupport::Deprecation::DeprecatedConstantProxy (expected Class) (TypeError)
```
which I believe is not a good way to deprecate a class, 99% of usage for is to inherit from.

Since the class itself does not contain any methods, there is no point of using `DeprecatedConstantProxy` to deprecate it.