Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
nexedi
gitlab-ce
Repository
gitlab-ce
lib
gitlab
current_settings.rb
Find file
Blame
History
Permalink
Use ActiveRecord::Base.connection.active? and rescue any exception in connect_to_db?
· 55ab92c0
Rémy Coutable
authored
Jan 28, 2016
This ensures that rake tasks that don't need a DB connection can be run without one.
55ab92c0