development.rb 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. $stdout.sync = true
  2. Huginn::Application.configure do
  3. # Settings specified here will take precedence over those in config/application.rb
  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. # Eager load code on boot. This eager loads most of Rails and
  9. # your application in memory, allowing both threaded web servers
  10. # and those relying on copy on write to perform better.
  11. # Rake tasks automatically ignore this option for performance.
  12. config.eager_load = false
  13. # Show full error reports and disable caching
  14. config.consider_all_requests_local = true
  15. config.action_controller.perform_caching = false
  16. # Print deprecation notices to the Rails logger
  17. config.active_support.deprecation = :log
  18. # Only use best-standards-support built into browsers
  19. config.action_dispatch.best_standards_support = :builtin
  20. # Raise exception on mass assignment protection for Active Record models
  21. config.active_record.mass_assignment_sanitizer = :strict
  22. # Raise an error on page load if there are pending migrations.
  23. config.active_record.migration_error = :page_load
  24. # Expands the lines which load the assets
  25. config.assets.debug = true
  26. config.action_mailer.default_url_options = { :host => ENV['DOMAIN'] }
  27. config.action_mailer.asset_host = ENV['DOMAIN']
  28. config.action_mailer.perform_deliveries = false # Enable when testing!
  29. config.action_mailer.raise_delivery_errors = true
  30. config.action_mailer.delivery_method = :smtp
  31. # smtp_settings moved to config/initializers/action_mailer.rb
  32. end