summaryrefslogtreecommitdiff
path: root/config/environments/development.rb
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-01-19 11:18:57 +0100
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-01-19 11:18:57 +0100
commitb4d61ac46babc04f67bb191c477dddc88e10ad45 (patch)
tree5c956996de67438678ba59d5e02e3627713b2e2f /config/environments/development.rb
parent1ede975cde6d32a74b2d4d523e5c0e242c89d50d (diff)
parent2becc6fae9b82479b644c0ca10b758cf8447bc19 (diff)
downloadgitlab-ce-doc_refactor_commits_api.tar.gz
Merge branch 'master' into doc_refactor_commits_apidoc_refactor_commits_api
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 257c163720a..689694a3480 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -16,6 +16,9 @@ Rails.application.configure do
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
+ # Raise an error on page load if there are pending migrations
+ config.active_record.migration_error = :page_load
+
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin