Leave ActiveRecord::Base out of diagrams?
Closed this issue · 13 comments
Hi,
Really love the diagrams that railroady is producing. Great Work!
Was just wondering if its possible to exclude ActiveRecord::Base out of the diagrams as it is associated with every model in the models and cluttering it up a little.
Thanks
Yep, interested in this too...
The rake task uses the -i option by default.
vagrant@precise64:/vagrant$ bundle exec rake diagram:models:complete
Generating /vagrant/doc/models_complete.svg
railroady -ilamM | sed -r 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' | dot -Tsvg > /vagrant/doc/models_complete.svg
vagrant@precise64:/vagrant$
just reuse the railroady command line above, removing the -i option...
Thanks @pfspontus! Would love a way to do this via the rake task.
@ronwsmith I put it in our fork a while back https://github.com/bredband2, it's really easy to do.
Thanks again @pfspontus. Have you submitted a PR to see if @preston will merge it?
+1 Doing this via the rake task would be helpful for me as well. Removing the -i option as @pfspontus recommended is working in the meantime.
Thanks @pfspontus.
Anyone have objections to making this the default behavior? I think it's a great idea!
👍 on removing the -i option from the default behavior
@sandipransing @anilo : Any objections to me making this change?
Changed for v1.2.0, just released!
Good news! thanks!
Oh brilliant. Good work!
On Wed, Oct 15, 2014 at 2:07 AM, Yonghwan SO notifications@github.com
wrote:
Good news! thanks!
—
Reply to this email directly or view it on GitHub
#59 (comment).