4r 2r
2014-May-21 18:32 UTC
A tool for analyzing activerecord associations in rails projects
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 tried 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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3f787066aad14a6ab6327fb9c6721501%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.