OSDN Git Service

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