We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1.安装 Graphviz: brew install graphviz
brew install graphviz
2.安装 Rails ERD,在Gemfile里面修改如下:
group :development do gem "rails-erd" end
bundle install
3.在终端里执行 rake erd
rake erd
会生成一个pdf文件erd.pdf,在你的项目文件夹里~
详细内容见:http://rails-erd.rubyforge.org/install.html