dxtdmq
Last Updated: February 25, 2016
·
428
· joshteng
10504ee74cc7e9984600710e51f08fc9

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
Say Thanks
Respond