Thoughts, information and reflections about technology

Creating Entity Relationship Diagrams in Rails.

I wanted to visualize the associations in a rails project. There are a number of gems that will do this.

I found the following guide

You simply add the gem to your gemfile

group :development do
gem ‘rails-erd’

Since I’m running ubuntu, I had to install Graphviz with

sudo apt-get install graphviz

For it’s basic usage, just do a bundle install, then run erd from the command line

Similar Posts:

No tags for this post.

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact me
Recent Comments