development.rb 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. #---
  2. # Excerpted from "Agile Web Development with Rails",
  3. # published by The Pragmatic Bookshelf.
  4. # Copyrights apply to this code. It may not be used to create training material,
  5. # courses, books, articles, and the like. Contact us if you are in doubt.
  6. # We make no guarantees that this code is fit for any purpose.
  7. # Visit http://www.pragmaticprogrammer.com/titles/rails4 for more book information.
  8. #---
  9. #---
  10. # Excerpted from "Agile Web Development with Rails, 4rd Ed.",
  11. # published by The Pragmatic Bookshelf.
  12. # Copyrights apply to this code. It may not be used to create training material,
  13. # courses, books, articles, and the like. Contact us if you are in doubt.
  14. # We make no guarantees that this code is fit for any purpose.
  15. # Visit http://www.pragmaticprogrammer.com/titles/rails4 for more book information.
  16. #---
  17. # Settings specified here will take precedence over those in config/environment.rb
  18. # In the development environment your application's code is reloaded on
  19. # every request. This slows down response time but is perfect for development
  20. # since you don't have to restart the webserver when you make code changes.
  21. config.cache_classes = false
  22. # Log error messages when you accidentally call methods on nil.
  23. config.whiny_nils = true
  24. # Show full error reports and disable caching
  25. config.action_controller.consider_all_requests_local = true
  26. config.action_view.debug_rjs = true
  27. config.action_controller.perform_caching = false
  28. # Don't care if the mailer can't send
  29. config.action_mailer.raise_delivery_errors = false