Merge pull request #2844 from akshaymohite/optimization-fixes
raise migration error in development if pending migrations
This commit is contained in:
commit
55fc54fe69
|
@ -24,6 +24,8 @@ Discourse::Application.configure do
|
|||
|
||||
config.assets.debug = true
|
||||
|
||||
# Raise an error on page load if there are pending migrations
|
||||
config.active_record.migration_error = :page_load
|
||||
config.watchable_dirs['lib'] = [:rb]
|
||||
|
||||
config.sass.debug_info = false
|
||||
|
|
Loading…
Reference in New Issue