Sha256: 42776990810679bfd4535116080467c5c0b5635cafe72e7f30fda748b8594a2d

Contents?: true

Size: 1.07 KB

Versions: 21

Compression:

Stored size: 1.07 KB

Contents

# -*- encoding : utf-8 -*-
Wagn.application.class.configure do
  # Settings specified here will take precedence over those in config/environment.rb
  # The profile environment should match the same settings
  # as the production environment to give a reasonalbe
  # approximation of performance.  However, it should
  # definitely not use the production databse!

  config.eager_load = true

  # Cache classes - otherwise your code
  # will run approximately 5 times slower and the
  # profiling results will be overwhelmed by Rails
  # dependency loading mechanism
  config.cache_classes = true

  # Don't check template timestamps - once again this
  # is to avoid IO times overwhelming profile results
  config.action_view.cache_template_loading = true

  # This is debatable, but turn off action controller
  # caching to see how long it really takes to run
  # queries and render templates
  config.action_controller.perform_caching = true

  # Turn off most logging
  config.log_level = :info

  config.active_support.deprecation = :log

  config.action_mailer.perform_deliveries = false
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
wagn-1.18.0 lib/wagn/config/environments/profile.rb