Skip to content
Merged
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/public/docs
/tmp/*
/yarn-error.log
ER_Model.pdf
spec/rspec_examples.txt
.env

Expand Down
Binary file added ER_Model.pdf
Binary file not shown.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Racxob

## ERD

(Below is an example PDF - it will auto update as you migrate - delete this comment!)

View PROJECT_NAME ERD [here](./ER_Model.pdf)

## Usage

(be sure to replace PROJECT_NAME with your project name)
Expand Down
6 changes: 6 additions & 0 deletions lib/tasks/auto_generate_diagram.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# NOTE: only doing this in development as some production environments (Heroku)
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
# NOTE: to have a dev-mode tool do its thing in production.
if Rails.env.development?
RailsERD.load_tasks
end