For generating entity relationship diagram of our app, following steps are to be followed:
Rails ERD requires Graphviz. To install it, try one of the following...
brew install graphviz # Homebrew on Mac OS X
sudo port install graphviz # Macports on Mac OS X
sudo aptitude install graphviz # Debian and Ubuntu
Now in your gemfile:
gem "rails-erd"
And then:
bundle install
Generate your first diagram:
rake erd
Rails ERD requires Graphviz. To install it, try one of the following...
brew install graphviz # Homebrew on Mac OS X
sudo port install graphviz # Macports on Mac OS X
sudo aptitude install graphviz # Debian and Ubuntu
Now in your gemfile:
gem "rails-erd"
And then:
bundle install
Generate your first diagram:
rake erd