It seems RailRoad doesn't handle controllers grouped in modules, as in:
class Admin::BookController < ApplicationController
end
RailRoad 0.5.0 breaks on such controllers, with ActiveSupport throwing:
`load_missing_constant': uninitialized constant BookController (NameError)
This happens as constantize is called on line 28 of file controllers_diagram.rb and passed the non-grouped form
"BookController", extracted from the filename "book_controller.rb". constantize should instead be
passed "Admin::BookController".
Supporting this feature can simply be achieved by looking for sub-directories of app/controllers in the path of each
controller file; example in attached file.
Further support could include a graphical representation of these controller groups.
|