railroady
railroady copied to clipboard
Ruby on Rails 3/4/5 model and controller UML class diagram generator. (`brew/port/apt-get install graphviz` before use!)
There seems to have been a bug introduced in [this commit](https://github.com/preston/railroady/commit/2a1945f24e2a510e575bdf7bd465982676df7409) where `assoc.macro.to_s` was changed to `assoc.methods.to_s` in models_diagram.rb: https://github.com/preston/railroady/blob/f348ba5a1694116032a97dc150d1b354282f597d/lib/railroady/models_diagram.rb#LL272C31-L272C31 This will break the processing of model associations.
I'm trying to run railroady on my rails 5.2 project, but I get bunch of exceptions complaining about the frozen literals and the model diagram does not have the relations...
We have a large set of models (>200). I would like to diagram a nice small set - half a dozen related models. I can pass those in just fine...
Using mongoid v3.x and railroady v1.1.0. Here is an example: ``` class Shop::Apple include Mongoid::Document # etc.. has_many :bugs end class Bug include Mongoid::Document #etc.. belongs_to :apple, class_name: "Shop::Apple" end...
Mongoid model seems to lack macro key; this will provide a workaround & enable railroady to plot the relations.
This commit now makes many of the rake tasks fail. Unsure of the fix for older versions of rails, but Rails >= 6 reverting this fixes the issue. https://github.com/preston/railroady/commit/328fc7a03e92efc0781082f4dc8b6ab35fbc3f45
Hi, it seems like this repo is inactive for a long time now. I forked and made some modification for so that this work with plantuml. I'm still a beginner...
I wish to see the diagram of ruby classes under the app/jobs subfolder of this large ruby app I recently inherited of... can I consider railroady to do that? Thanks
When I run `diagram:all`, and then even just ``` rake diagram:models:brief ``` I get an error: ``` rake diagram:models:brief WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically...