Only return valid models from get_loaded_model_by_path (#801)
This is a bugfix for the following case:
```
# app/models/foo.rb
module Foo; end
# app/models/bar/foo.rb
class Bar::Foo < Activerecord::Base; end
```
Where `Bar::Foo` would never get annotated.
Showing
Please
register
or
sign in
to comment