gitlab-org--gitlab-foss/lib/gitlab
Marin Jankovski 465f41673a Merge branch 'database-fix-setting' into 'master'
Check for database connection when running current_application_settings

The PG connection errors don't always end up being caught as ActiveRecord::NoDatabaseError. So when doing a precompile without the database (like when using the omnibus), an exception was being thrown.

See merge request !292
2015-01-19 18:43:27 +00:00
..
backend White-list requests from 127.0.0.1 2015-01-06 16:56:56 +01:00
diff
github Improve github import page UI 2015-01-13 11:44:17 -08:00
graphs
ldap
oauth
satellite
sidekiq_middleware
access.rb
app_logger.rb
auth.rb
blacklist.rb
closing_issue_extractor.rb
compare_result.rb
config_helper.rb
contributors.rb
current_settings.rb Check for database connection before loading current application settings 2015-01-14 16:23:46 -08:00
force_push_check.rb
git.rb Send checkout sha for web hooks and services 2015-01-15 10:26:33 -08:00
git_access.rb
git_access_status.rb
git_access_wiki.rb
git_logger.rb
git_ref_validator.rb
identifier.rb
inline_diff.rb
issues_labels.rb
logger.rb
markdown.rb
markdown_helper.rb
popen.rb
production_logger.rb
project_search_results.rb
push_data_builder.rb Test git builder over annotated tag 2015-01-15 11:17:47 -08:00
reference_extractor.rb
regex.rb Github Importer 2015-01-10 09:51:43 -08:00
search_results.rb
seeder.rb
sidekiq_logger.rb
snippet_search_results.rb
theme.rb
upgrader.rb
url_builder.rb
user_access.rb
utils.rb
version_info.rb
visibility_level.rb