Raise an error on page load if there are pending migrations on dev env
This commit is contained in:
parent
bddef293d6
commit
96440042a9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue