Merge pull request #2844 from akshaymohite/optimization-fixes

raise migration error in development if pending migrations
This commit is contained in:
Robin Ward 2014-10-06 13:35:53 -04:00
commit 55fc54fe69
1 changed files with 2 additions and 0 deletions

View File

@ -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