development.rb 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Nooo::Application.configure do
  2. # Settings specified here will take precedence over those in config/application.rb
  3. # In the development environment your application's code is reloaded on
  4. # every request. This slows down response time but is perfect for development
  5. # since you don't have to restart the web server when you make code changes.
  6. config.cache_classes = false
  7. # Log error messages when you accidentally call methods on nil.
  8. config.whiny_nils = true
  9. # Show full error reports and disable caching
  10. config.consider_all_requests_local = true
  11. config.action_controller.perform_caching = false
  12. config.action_mailer.delivery_method = :smtp
  13. config.action_mailer.smtp_settings = {
  14. :address => "b4r.netdome.biz",
  15. :authentication => :plain,
  16. :user_name => "paul@netdome.biz",
  17. :password => "t3hp4ss"
  18. }
  19. # Don't care if the mailer can't send (false), to care set to true.
  20. config.action_mailer.raise_delivery_errors = true
  21. config.action_mailer.default_url_options = { :host => 'localhost:3000' }
  22. # Print deprecation notices to the Rails logger
  23. config.active_support.deprecation = :log
  24. # Only use best-standards-support built into browsers
  25. config.action_dispatch.best_standards_support = :builtin
  26. # Raise exception on mass assignment protection for Active Record models
  27. config.active_record.mass_assignment_sanitizer = :strict
  28. # Log the query plan for queries taking more than this (works
  29. # with SQLite, MySQL, and PostgreSQL)
  30. config.active_record.auto_explain_threshold_in_seconds = 0.5
  31. # Do not compress assets
  32. config.assets.compress = false
  33. # Expands the lines which load the assets
  34. config.assets.debug = true
  35. end