diff options
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/development.rb | 6 | ||||
-rw-r--r-- | config/environments/production.rb | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 76e52312d..564630813 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -40,4 +40,10 @@ Rails.application.configure do # config.action_view.raise_on_missing_translations = true config.action_mailer.delivery_method = :letter_opener + + config.after_initialize do + Bullet.enable = true + Bullet.bullet_logger = true + Bullet.rails_logger = true + end end diff --git a/config/environments/production.rb b/config/environments/production.rb index 1f08fad5a..968960eb6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -55,7 +55,7 @@ Rails.application.configure do # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) # Use a different cache store in production. - # config.cache_store = :mem_cache_store + config.cache_store = :memory_store, size: 128.megabytes # Enable serving of images, stylesheets, and JavaScripts from an asset server. # config.action_controller.asset_host = 'http://assets.example.com' |