-
Use ActiveRecord::Base.connection.active? and rescue any exception in connect_to_db? · 55ab92c0Rémy Coutable authored
This ensures that rake tasks that don't need a DB connection can be run without one.
55ab92c0
×
BigW Consortium Gitlab
This ensures that rake tasks that don't need a DB connection can be run without one.