diff options
author | Rémy Coutable <remy@rymai.me> | 2016-01-28 10:14:21 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-01-28 11:26:28 +0100 |
commit | 869b4d7c6ad5c025f310eeecce7293bf5bbc4926 (patch) | |
tree | 9c84e2ae38288036632952c66a32af0224db999a /lib/api/commit_statuses.rb | |
parent | e6f3fe5d3b16809634dd655b3d265c683b538b12 (diff) | |
download | gitlab-ce-869b4d7c6ad5c025f310eeecce7293bf5bbc4926.tar.gz |
Only create the defaults ApplicationSetting when DB is fully migrated
Return a fake application settings OpenStruct when this is not the case.
Also, use ActiveRecord::Base.connection_pool.active_connection? instead
of ActiveRecord::Base.connection.active? to avoid driver exception.
Diffstat (limited to 'lib/api/commit_statuses.rb')
0 files changed, 0 insertions, 0 deletions