railroady icon indicating copy to clipboard operation
railroady copied to clipboard

Exclude Typical plugins

Open JanStevens opened this issue 11 years ago • 5 comments

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

JanStevens avatar Nov 27 '13 16:11 JanStevens

that would be nice, I have the same problem...

marcusg avatar Nov 29 '13 18:11 marcusg

:+1: Would be very nice, I'm trying to do the same thing.

mrjman avatar Jun 16 '14 15:06 mrjman

+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 :-).

antoine-lizee avatar Mar 29 '15 19:03 antoine-lizee

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.

antoine-lizee avatar Mar 29 '15 20:03 antoine-lizee

+1 This makes the use case of this far greater as it's... understandable for database and class modeling.

rposborne avatar Jul 30 '15 13:07 rposborne