26
26

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Rails 3でER図を作成

Posted at

Rails ERDが楽ちん

インストール方法

graphvizをインストール

$ sudo brew install graphviz

Gemfileを編集

group :development do
  gem "rails-erd"
end

gemをインストール

$ bundle install

グラフ作成
notation=bachmanで一対多の関係をわかりやすく

$ rake erd notation=bachman

参考文献

26
26
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
26
26

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?