the current regex would not recognize it as being a descendant of
ActiveRecord::Base, so hitting :R in such a model, would take you to the test/spec-file, and not, as exptected, the schema.
This PR basically reverts this line to the state prior to
01f66494cc1343b479b82b125dcaa60b5fc3cc43.
As I could not infer why the line was changed in the above commit, I'm not sure if this change breaks something else.
In the case of namespaced models, eg.
the current regex would not recognize it as being a descendant of ActiveRecord::Base, so hitting
:R
in such a model, would take you to the test/spec-file, and not, as exptected, the schema.This PR basically reverts this line to the state prior to 01f66494cc1343b479b82b125dcaa60b5fc3cc43.
As I could not infer why the line was changed in the above commit, I'm not sure if this change breaks something else.
(And thank you, Tim, for your awesome work!)