Forum: Ruby on Rails A tool for analyzing ActiveRecord model associations in rails projects

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
93e541fb8c13534773ed5923e4a3b712?d=identicon&s=25 Rrr ... (4r2r)
on 2014-05-21 20:32
Hello. First time poster here :)

Long story short: I've got tired of trying to figure out model relations
in big rails projects with more than 20 models.

Before I've tried to use rails-erd, which turned out to be a PITA to
conceive.

So I figured out a different approach where model relations are
organized in a tree-like pattern like this (example from one of the
projects):

Metric
  MetricConfiguration
    ActionInstance
      Action::EmailInstance
    Schedule
    Threshold
  MetricInstance

You can check out the tool here
https://gist.github.com/4r2r/10317c83f964ee072066

Any feedback would be greatly appreciated!
This topic is locked and can not be replied to.