Subclasses of `ActiveRecord::Base` shouldn't inherit constants defined in the `ActiveRecord` namespace.

```ruby
module Foo
  OUTER_CONST = "outer"

  module Bar
    MODULE_CONST = "module"
  end

  class Baz
    include Bar

    PARENT_CONST = "parent"
  end
end

class FooBaz < Foo::Baz
  PARENT_CONST
  MODULE_CONST
  OUTER_CONST # => this line errors
end
```