Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • gitlab-ce
  • Repository
You need to sign in or sign up before continuing.
  • gitlab-ce
  • lib
  • gitlab
  • current_settings.rb
Find file BlameHistoryPermalink
  • Rémy Coutable's avatar
    Only create the defaults ApplicationSetting when DB is fully migrated · 9986da00
    Rémy Coutable authored Jan 28, 2016 and Kirill Smelkov's avatar Kirill Smelkov committed Feb 02, 2016
    ( cherry picked from commit 869b4d7c upsream)
    
    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.
    9986da00
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7