development.rb 1.1 KB

123456789101112131415161718192021222324252627282930
  1. Discite::Application.configure do
  2. # In the development environment your application's code is reloaded on
  3. # every request. This slows down response time but is perfect for development
  4. # since you don't have to restart the web server when you make code changes.
  5. config.cache_classes = false
  6. config.action_mailer.default_url_options = { host: 'localhost:3000' }
  7. # Do not eager load code on boot.
  8. config.eager_load = false
  9. # Show full error reports and disable caching.
  10. config.consider_all_requests_local = true
  11. config.action_controller.perform_caching = false
  12. # Don't care if the mailer can't send.
  13. config.action_mailer.raise_delivery_errors = false
  14. # Print deprecation notices to the Rails logger.
  15. config.active_support.deprecation = :log
  16. # Raise an error on page load if there are pending migrations
  17. config.active_record.migration_error = :page_load
  18. # Debug mode disables concatenation and preprocessing of assets.
  19. # This option may cause significant delays in view rendering with a large
  20. # number of complex assets.
  21. config.assets.debug = true
  22. end