-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformed environments files to the new config style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
- Loading branch information
Showing
4 changed files
with
33 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
# 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. | ||
config.cache_classes = false | ||
|
||
# Log error messages when you accidentally call methods on nil. | ||
require 'active_support/whiny_nil' | ||
config.whiny_nils = true | ||
|
||
# Reload code; show full error reports; disable caching. | ||
Dependencies.mechanism = :load | ||
ActionController::Base.consider_all_requests_local = true | ||
ActionController::Base.perform_caching = false | ||
# Enable the breakpoint server that script/breakpointer connects to | ||
config.breakpoint_server = true | ||
|
||
# The breakpoint server port that script/breakpointer connects to. | ||
BREAKPOINT_SERVER_PORT = 42531 | ||
# Show full error reports and disable caching | ||
config.action_controller.consider_all_requests_local = true | ||
config.action_controller.perform_caching = false | ||
|
||
# Don't care if the mailer can't send | ||
config.action_mailer.raise_delivery_errors = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
# The production environment is meant for finished, "live" apps. | ||
# Code is not reloaded between requests, full error reports are disabled, | ||
# and caching is turned on. | ||
# Code is not reloaded between requests | ||
config.cache_classes = true | ||
|
||
# Don't reload code; don't show full error reports; enable caching. | ||
Dependencies.mechanism = :require | ||
ActionController::Base.consider_all_requests_local = false | ||
ActionController::Base.perform_caching = true | ||
# Use a different logger for distributed setups | ||
# config.logger = SyslogLogger.new | ||
|
||
|
||
# Full error reports are disabled and caching is turned on | ||
config.action_controller.consider_all_requests_local = false | ||
config.action_controller.perform_caching = true | ||
|
||
# Enable serving of images, stylesheets, and javascripts from an asset server | ||
# config.action_controller.asset_host = "http://assets.example.com" | ||
|
||
# Disable delivery errors if you bad email addresses should just be ignored | ||
# config.action_mailer.raise_delivery_errors = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters