OSDN Git Service

rails upgrade to 4
[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   # Show full error reports and disable caching
19   config.consider_all_requests_local       = true
20   config.action_controller.perform_caching = false
21
22   # Don't care if the mailer can't send
23   config.action_mailer.raise_delivery_errors = false
24
25   # Print deprecation notices to the Rails logger
26   config.active_support.deprecation = :log
27
28   # Do not compress assets
29   config.assets.compress = false
30
31   # Expands the lines which load the assets
32   config.assets.debug = true
33   
34   # config.assets.digest = true
35   # config.static_cache_control = "public, max-age=1"
36 config.eager_load = false
37 config.active_record.migration_error = :page_load
38 end
39