This commit is contained in:
root
2019-04-01 05:03:07 +00:00
34 changed files with 425 additions and 617 deletions

View File

@@ -1,13 +1,14 @@
Fetsite::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
config.serve_static_files = false
config.serve_static_files = true
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
config.eager_load = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
@@ -32,6 +33,8 @@ Fetsite::Application.configure do
# with SQLite, MySQL, and PostgreSQL)
# config.active_record.auto_explain_threshold_in_seconds = 0.5
config.active_record.raise_in_transactional_callbacks=true
# Do not compress assets
config.assets.compress = false