Sha256: 65577b0d671393935bb0c1b4bf5515c79c0eb9da2d0ddcc114d4e85814d4f473

Contents?: true

Size: 1.52 KB

Versions: 6

Compression:

Stored size: 1.52 KB

Contents

Dummy::Application.configure do
  # Settings specified here will take precedence over those in config/application.rb.

  # 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

  if Rails.version =~ /\A3/
    # Log error messages when you accidentally call methods on nil.
    config.whiny_nils = true
    
    # Only use best-standards-support built into browsers
    config.action_dispatch.best_standards_support = :builtin

    # Do not compress assets
    config.assets.compress = false
  end
  
  if Rails.version =~ /\A4/
    config.eager_load = false
    
    # Raise an error on page load if there are pending migrations
    config.active_record.migration_error = :page_load
  end

  # Show full error reports and disable caching.
  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false

  # Don't care if the mailer can't send.
  config.action_mailer.raise_delivery_errors = false

  # Print deprecation notices to the Rails logger.
  config.active_support.deprecation = :log

  # Raise an error on page load if there are pending migrations
  config.active_record.migration_error = :page_load

  # Debug mode disables concatenation and preprocessing of assets.
  # This option may cause significant delays in view rendering with a large
  # number of complex assets.
  config.assets.debug = true
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
genderize-0.1.1 spec/dummy/config/environments/development.rb
genderize-0.1.0 spec/dummy/config/environments/development.rb
genderize-0.0.8 spec/dummy/config/environments/development.rb
genderize-0.0.7 spec/dummy/config/environments/development.rb
genderize-0.0.6 spec/dummy/config/environments/development.rb
genderize-0.0.5 spec/dummy/config/environments/development.rb