railroady
railroady copied to clipboard
Exclude Typical plugins
Hello,
How can I disable the ActiveRecord:Base Inheritance (all my models are derived from it ofcourse) and the Verion model (this is from paper_trail gem). I tried to use the exclude file options (but nothing seems to work). My model view is quite complex and those two would make it a bit easier.
Thanks,
Regards
that would be nice, I have the same problem...
:+1: Would be very nice, I'm trying to do the same thing.
+1 I have tried --exclude '*paper*'
and ommiting the -m
, but it doesn't change anything. PaperTrail::Version is messing up my schema BIG time :-).
FYI, small hack that works: I introduced something like sed '/PaperTrail/d'
between the output of railroady
and the creation of the graph with dot
, and it worked well.
+1 This makes the use case of this far greater as it's... understandable for database and class modeling.