I am looking for a tiny tool/script/plugin to visualize my Rails schema.rb file so that our project does not have to maintain a separate diagram manually.
Do you have any experiences on that subject?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out RailRoad.
It creates diagrams for models and controllers. I bet it will do what you want. It produces DOT files which can be viewed with Graphviz or other programs.
I’ve had some success with it, but when you have a ton of models, you may need to do some manual rearrangement to get a decent looking diagram.
(source: rubyforge.org)