github.com/walf443/mgr@v0.0.0-20150203144449-6f7a3a548462/cli/railssample/config/environments/development.rb (about)

     1  Rails.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    # Do not eager load code on boot.
    10    config.eager_load = false
    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    # Raise an error on page load if there are pending migrations.
    23    config.active_record.migration_error = :page_load
    24  
    25    # Debug mode disables concatenation and preprocessing of assets.
    26    # This option may cause significant delays in view rendering with a large
    27    # number of complex assets.
    28    config.assets.debug = true
    29  
    30    # Asset digests allow you to set far-future HTTP expiration dates on all assets,
    31    # yet still be able to expire them through the digest params.
    32    config.assets.digest = true
    33  
    34    # Adds additional error checking when serving assets at runtime.
    35    # Checks for improperly declared sprockets dependencies.
    36    # Raises helpful error messages.
    37    config.assets.raise_runtime_errors = true
    38  
    39    # Raises error for missing translations
    40    # config.action_view.raise_on_missing_translations = true
    41  end