aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/environments/development.rb')
-rw-r--r--railties/environments/development.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/railties/environments/development.rb b/railties/environments/development.rb
index aab4562a51..d214c666d0 100644
--- a/railties/environments/development.rb
+++ b/railties/environments/development.rb
@@ -1,6 +1,14 @@
+# In the development environment your application's code is reloaded on
+# every request. This slows down response time but is perfect for development
+# since you don't have to restart the webserver when you make code changes.
+
+# Log error messages when you accidentally call methods on nil.
require 'active_support/whiny_nil'
+# Reload code; show full error reports; disable caching.
Dependencies.mechanism = :load
ActionController::Base.consider_all_requests_local = true
ActionController::Base.perform_caching = false
-BREAKPOINT_SERVER_PORT = 42531 \ No newline at end of file
+
+# The breakpoint server port that script/breakpointer connects to.
+BREAKPOINT_SERVER_PORT = 42531