Grosse MàJ
This commit is contained in:
		
							
								
								
									
										21
									
								
								P5B/ruby/mon_projet/config/environments/development.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								P5B/ruby/mon_projet/config/environments/development.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
# Settings specified here will take precedence over those in config/environment.rb
 | 
			
		||||
 | 
			
		||||
# 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.
 | 
			
		||||
config.whiny_nils = true
 | 
			
		||||
 | 
			
		||||
# Enable the breakpoint server that script/breakpointer connects to
 | 
			
		||||
config.breakpoint_server = true
 | 
			
		||||
 | 
			
		||||
# Show full error reports and disable caching
 | 
			
		||||
config.action_controller.consider_all_requests_local = true
 | 
			
		||||
config.action_controller.perform_caching             = false
 | 
			
		||||
config.action_view.cache_template_extensions         = false
 | 
			
		||||
config.action_view.debug_rjs                         = true
 | 
			
		||||
 | 
			
		||||
# Don't care if the mailer can't send
 | 
			
		||||
config.action_mailer.raise_delivery_errors = false
 | 
			
		||||
							
								
								
									
										18
									
								
								P5B/ruby/mon_projet/config/environments/production.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								P5B/ruby/mon_projet/config/environments/production.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
# Settings specified here will take precedence over those in config/environment.rb
 | 
			
		||||
 | 
			
		||||
# The production environment is meant for finished, "live" apps.
 | 
			
		||||
# Code is not reloaded between requests
 | 
			
		||||
config.cache_classes = 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, bad email addresses will be ignored
 | 
			
		||||
# config.action_mailer.raise_delivery_errors = false
 | 
			
		||||
							
								
								
									
										19
									
								
								P5B/ruby/mon_projet/config/environments/test.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								P5B/ruby/mon_projet/config/environments/test.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
# Settings specified here will take precedence over those in config/environment.rb
 | 
			
		||||
 | 
			
		||||
# The test environment is used exclusively to run your application's
 | 
			
		||||
# test suite.  You never need to work with it otherwise.  Remember that
 | 
			
		||||
# your test database is "scratch space" for the test suite and is wiped
 | 
			
		||||
# and recreated between test runs.  Don't rely on the data there!
 | 
			
		||||
config.cache_classes = true
 | 
			
		||||
 | 
			
		||||
# Log error messages when you accidentally call methods on nil.
 | 
			
		||||
config.whiny_nils = true
 | 
			
		||||
 | 
			
		||||
# Show full error reports and disable caching
 | 
			
		||||
config.action_controller.consider_all_requests_local = true
 | 
			
		||||
config.action_controller.perform_caching             = false
 | 
			
		||||
 | 
			
		||||
# Tell ActionMailer not to deliver emails to the real world.
 | 
			
		||||
# The :test delivery method accumulates sent emails in the
 | 
			
		||||
# ActionMailer::Base.deliveries array.
 | 
			
		||||
config.action_mailer.delivery_method = :test
 | 
			
		||||
		Reference in New Issue
	
	Block a user