Last Updated: February 25, 2016
·
789
· joshteng

Visualizing model relationship

brew install graphviz

group :development, :test do
    gem 'railroady'
end

one way to use it http://engineering.coachup.com/visualizing-rails-schemas-railroady-gem/

bundle install
railroady -o models.dot -M
dot -Tpng models.dot > models.png

another way to use it https://github.com/preston/railroady

rake diagram:all