comparison config/environments/development.rb @ 202:d4cf49db9c49

...copypasta the whole environments from clean 4.0
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 00:29:54 +0900
parents 681bfba39449
children 10f1eb74e6d7
comparison
equal deleted inserted replaced
201:681bfba39449 202:d4cf49db9c49
1 Zeropaste::Application.configure do 1 Zeropaste::Application.configure do
2 # Settings specified here will take precedence over those in config/application.rb 2 # Settings specified here will take precedence over those in config/application.rb.
3 3
4 # In the development environment your application's code is reloaded on 4 # In the development environment your application's code is reloaded on
5 # every request. This slows down response time but is perfect for development 5 # every request. This slows down response time but is perfect for development
6 # since you don't have to restart the web server when you make code changes. 6 # since you don't have to restart the web server when you make code changes.
7 config.cache_classes = false 7 config.cache_classes = false
8 8
9 # Show full error reports and disable caching 9 # Do not eager load code on boot.
10 config.eager_load = false
11
12 # Show full error reports and disable caching.
10 config.consider_all_requests_local = true 13 config.consider_all_requests_local = true
11 config.action_controller.perform_caching = false 14 config.action_controller.perform_caching = false
12 15
13 # Don't care if the mailer can't send 16 # Don't care if the mailer can't send.
14 # config.action_mailer.raise_delivery_errors = false 17 config.action_mailer.raise_delivery_errors = false
15 18
16 # Print deprecation notices to the Rails logger 19 # Print deprecation notices to the Rails logger.
17 config.active_support.deprecation = :log 20 config.active_support.deprecation = :log
18 21
19 # Only use best-standards-support built into browsers 22 # Raise an error on page load if there are pending migrations
20 config.action_dispatch.best_standards_support = :builtin 23 config.active_record.migration_error = :page_load
21 24
22 # Do not compress assets 25 # Debug mode disables concatenation and preprocessing of assets.
23 config.assets.compress = false 26 # This option may cause significant delays in view rendering with a large
24 27 # number of complex assets.
25 # Expands the lines which load the assets
26 config.assets.debug = true 28 config.assets.debug = true
27
28 config.eager_load = false
29 end 29 end