When generating model diagrams with inheritance on, ActiveRecord::Base was being displayed on the diagram. The original code looks like it is trying to filter out ActiveRecord::Base but in the course of development maybe it got broken. This PR fixes this so ActiveRecord::Base is filtered out during inheritance generation.
If this wasn't the desired behaviour that ActiveRecord::Base and CouchRest::Model::Base be excluded then this PR can be ignored. Those desiring equivalent functionality could look at implementing a list of classes (not files) that would be excluded during generation.
When generating model diagrams with inheritance on, ActiveRecord::Base was being displayed on the diagram. The original code looks like it is trying to filter out ActiveRecord::Base but in the course of development maybe it got broken. This PR fixes this so ActiveRecord::Base is filtered out during inheritance generation.
Also this will assist with https://github.com/preston/railroady/issues/90
If this wasn't the desired behaviour that ActiveRecord::Base and CouchRest::Model::Base be excluded then this PR can be ignored. Those desiring equivalent functionality could look at implementing a list of classes (not files) that would be excluded during generation.