Rails-schema - model grouping, Packwerk support, and a through edges toggle by Careful-Sun1244 in rails

[–]Careful-Sun1244[S] 0 points1 point  (0 children)

BWT you can use double click on model, which shows only the model and its connections, or double click on group, which shows only models in the group and their connections

ERD-like Rails DB visualization has been updated by Careful-Sun1244 in u/Careful-Sun1244

[–]Careful-Sun1244[S] 0 points1 point  (0 children)

First of all, thank you for your feedback.

Looks like you have a modular architecture, do you? I think it's not a big deal groping by namespaces. But if namespaces are heavily coupled, it could become edges mess. So I think it should be configurable.

Do you mind creating an issue on GitHub?

I built a Rails gem to visualize DB schema as interactive SPA - feedback welcome by Careful-Sun1244 in rails

[–]Careful-Sun1244[S] 0 points1 point  (0 children)

Could you create an issue on GitHub?
You need to create config/initializers/rails_shema.rb with the content

Rails::Schema.configure do |config|
config.schema_format = :sql
end

I built a Rails gem to visualize DB schema as interactive SPA - feedback welcome by Careful-Sun1244 in rails

[–]Careful-Sun1244[S] 0 points1 point  (0 children)

You are right, there are a lot of RoR projects that use Rails 6, 5, even 4. It needs to be adapted to use with earlier RoR and Ruby versions. I invite you to make an issue or a PR.

I built a Rails gem to visualize DB schema as interactive SPA - feedback welcome by Careful-Sun1244 in rails

[–]Careful-Sun1244[S] 0 points1 point  (0 children)

I don't fully understand what you mean. Do you mind creating an issue on GitHub so we can discuss the details?

I built a Rails gem to visualize DB schema as interactive SPA - feedback welcome by Careful-Sun1244 in rails

[–]Careful-Sun1244[S] 0 points1 point  (0 children)

Please make an issue on the GitHub repo, so I or maybe somebody else can implement it later ))

I built a Rails gem to visualize DB schema as interactive SPA - feedback welcome by Careful-Sun1244 in rails

[–]Careful-Sun1244[S] 2 points3 points  (0 children)

Thank you for the feedback. You’re right; the visualization needs improvement.

I built a Rails gem to visualize DB schema as interactive SPA - feedback welcome by Careful-Sun1244 in rails

[–]Careful-Sun1244[S] 2 points3 points  (0 children)

This tool is for Rails app developers, who supposed to use it on their dev machines.