Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .erdconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
attributes:
- content
- foreign_key
- primary_key
- inheritance
- timestamps
disconnected: true
filename: erd
filetype: png
indirect: true
inheritance: false
markup: true
notation: uml
orientation: vertical
polymorphism: false
sort: true
warn: true
title: sample title
exclude: null
only: null
only_recursion_depth: null
prepend_primary: true
cluster: false
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ group :development do
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'

gem 'rails-erd'

# Use Capistrano for deployment
gem 'capistrano-af83', af83: 'capistrano-af83'

Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ GEM
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
choice (0.2.0)
cocoon (1.2.10)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
Expand Down Expand Up @@ -182,6 +183,11 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-erd (1.5.2)
activerecord (>= 3.2)
activesupport (>= 3.2)
choice (~> 0.2.0)
ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails-jquery-tags-input (1.0.0)
Expand Down Expand Up @@ -221,6 +227,7 @@ GEM
rspec-mocks (~> 3.6.0)
rspec-support (~> 3.6.0)
rspec-support (3.6.0)
ruby-graphviz (1.2.3)
sass (3.5.1)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
Expand Down Expand Up @@ -308,6 +315,7 @@ DEPENDENCIES
rails (~> 5.0.3)
rails-assets-bootstrap-sass-official (~> 3.3.0)!
rails-assets-footable (~> 2.0.3)!
rails-erd
rails-jquery-tags-input
rest-client (~> 2.0, >= 2.0.2)
rspec-rails (~> 3.5)
Expand Down