development.rb 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # Log error messages when you accidentally call methods on nil.
  9. config.whiny_nils = true
  10. # Show full error reports and disable caching
  11. config.consider_all_requests_local = true
  12. config.action_controller.perform_caching = false
  13. # Print deprecation notices to the Rails logger
  14. config.active_support.deprecation = :log
  15. # Only use best-standards-support built into browsers
  16. config.action_dispatch.best_standards_support = :builtin
  17. # Raise exception on mass assignment protection for Active Record models
  18. config.active_record.mass_assignment_sanitizer = :strict
  19. # Log the query plan for queries taking more than this (works
  20. # with SQLite, MySQL, and PostgreSQL)
  21. config.active_record.auto_explain_threshold_in_seconds = 0.5
  22. # Do not compress assets
  23. config.assets.compress = false
  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