add rails erd

This commit is contained in:
João Geonizeli
2021-08-14 12:11:00 -03:00
parent 97c6f28b03
commit 3813abdaf0
6 changed files with 229 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
# 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