OSDN Git Service

4b6668ddc87a65b4a2a94087ec163edba31967a8
[pettanr/pettanr.git] / config / environments / development.rb
1 Pettanr::Application.configure do
2
3   ActiveSupport::Dependencies.autoload_paths << File::join( Rails.root, 'lib')
4   ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Editor' 
5   ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Manifest' 
6   ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Peta' 
7   # Settings specified here will take precedence over those in config/application.rb
8
9   # In the development environment your application's code is reloaded on
10   # every request.  This slows down response time but is perfect for development
11   # since you don't have to restart the web server when you make code changes.
12   config.cache_classes = false
13
14   # Log error messages when you accidentally call methods on nil.
15   config.whiny_nils = true
16
17   # Show full error reports and disable caching
18   config.consider_all_requests_local       = true
19   config.action_controller.perform_caching = false
20
21   # Don't care if the mailer can't send
22   config.action_mailer.raise_delivery_errors = false
23
24   # Print deprecation notices to the Rails logger
25   config.active_support.deprecation = :log
26
27   # Only use best-standards-support built into browsers
28   config.action_dispatch.best_standards_support = :builtin
29
30   # Do not compress assets
31   config.assets.compress = false
32
33   # Expands the lines which load the assets
34   config.assets.debug = true
35   
36   # config.assets.digest = true
37   # config.static_cache_control = "public, max-age=1"
38 end
39