Skip to content
This repository
Browse code

Bugfix env

  • Loading branch information...
commit 442f668f89b2b39a9712ce75dab7e9c5435f452d 1 parent 10b64e0
Marcin Kulik authored April 11, 2012
4  config/app.yml
@@ -15,6 +15,10 @@ development:
15 15
   <<: *defaults
16 16
   carrierwave_storage: :file
17 17
 
  18
+bugfix:
  19
+  <<: *defaults
  20
+  carrierwave_storage: :fog
  21
+
18 22
 production:
19 23
   <<: *defaults
20 24
   carrierwave_storage: :fog
37  config/environments/bugfix.rb
... ...
@@ -0,0 +1,37 @@
  1
+AsciiIo::Application.configure do
  2
+  # Settings specified here will take precedence over those in config/application.rb
  3
+
  4
+  # In the development environment your application's code is reloaded on
  5
+  # every request.  This slows down response time but is perfect for development
  6
+  # since you don't have to restart the web server when you make code changes.
  7
+  config.cache_classes = false
  8
+
  9
+  # Log error messages when you accidentally call methods on nil.
  10
+  config.whiny_nils = true
  11
+
  12
+  # Show full error reports and disable caching
  13
+  config.consider_all_requests_local       = true
  14
+  config.action_controller.perform_caching = false
  15
+
  16
+  # Don't care if the mailer can't send
  17
+  config.action_mailer.raise_delivery_errors = false
  18
+
  19
+  # Print deprecation notices to the Rails logger
  20
+  config.active_support.deprecation = :log
  21
+
  22
+  # Only use best-standards-support built into browsers
  23
+  config.action_dispatch.best_standards_support = :builtin
  24
+
  25
+  # Do not compress assets
  26
+  config.assets.compress = false
  27
+
  28
+  # Expands the lines which load the assets
  29
+  config.assets.debug = true
  30
+
  31
+  # Raise exception on mass assignment protection for Active Record models
  32
+  config.active_record.mass_assignment_sanitizer = :strict
  33
+
  34
+  # Log the query plan for queries taking more than this (works
  35
+  # with SQLite, MySQL, and PostgreSQL)
  36
+  config.active_record.auto_explain_threshold_in_seconds = 0.5
  37
+end
1  config/initializers/errbit.rb
@@ -3,4 +3,5 @@
3 3
   config.host        = CFG.airbrake_host
4 4
   config.port        = 80
5 5
   config.secure      = config.port == 443
  6
+  config.development_environments = ['development', 'bugfix']
6 7
 end

0 notes on commit 442f668

Please sign in to comment.
Something went wrong with that request. Please try again.