Rails-ERD-D3
  • Rotate
  • Filter
  • 2016 Roman Krasavtsev

User

Associations
# name type class_name
1 Projects has_many Project
Table structure
# column_name type
1 id integer
2 firstname string
3 familyname string
4 sex string
5 created_at datetime
6 updated_at datetime

Project

Associations
# name type class_name
1 Comments has_many
Table structure
# column_name type
1 id integer
2 created_at datetime
3 updated_at datetime
4 user_id integer

Attachment

Associations
# name type class_name
1 Comments has_many
Table structure
# column_name type
1 id integer
2 created_at datetime
3 updated_at datetime

Task

Associations
# name type class_name
1 Comments has_many
Table structure
# column_name type
1 id integer
2 created_at datetime
3 updated_at datetime

Comment

Associations
# name type class_name
1 Commentable belongs_to
Table structure
# column_name type
1 id integer
2 body text
3 commentable_id integer
4 created_at datetime
5 updated_at datetime

Filter

Models
# name show
1 Attachment
2 Comment
3 Project
4 Task
5 User