Mercurial > rsstweet
comparison config/environments/development.rb @ 214:2335107f35d0
Run rails update
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 11 Dec 2020 03:47:39 +0900 |
parents | 8190fa511e35 |
children | ad6264cca788 |
comparison
equal
deleted
inserted
replaced
213:609e96a79ad8 | 214:2335107f35d0 |
---|---|
1 require "active_support/core_ext/integer/time" | |
2 | |
1 Rails.application.configure do | 3 Rails.application.configure do |
2 # Settings specified here will take precedence over those in config/application.rb. | 4 # Settings specified here will take precedence over those in config/application.rb. |
3 | 5 |
4 # In the development environment your application's code is reloaded on | 6 # In the development environment your application's code is reloaded any time |
5 # every request. This slows down response time but is perfect for development | 7 # it changes. 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. | 8 # since you don't have to restart the web server when you make code changes. |
7 config.cache_classes = false | 9 config.cache_classes = false |
8 | 10 |
9 # Do not eager load code on boot. | 11 # Do not eager load code on boot. |
10 config.eager_load = false | 12 config.eager_load = false |
29 end | 31 end |
30 | 32 |
31 # Print deprecation notices to the Rails logger. | 33 # Print deprecation notices to the Rails logger. |
32 config.active_support.deprecation = :log | 34 config.active_support.deprecation = :log |
33 | 35 |
36 # Raise exceptions for disallowed deprecations. | |
37 config.active_support.disallowed_deprecation = :raise | |
38 | |
39 # Tell Active Support which deprecation messages to disallow. | |
40 config.active_support.disallowed_deprecation_warnings = [] | |
41 | |
42 | |
34 # Raises error for missing translations. | 43 # Raises error for missing translations. |
35 # config.action_view.raise_on_missing_translations = true | 44 # config.i18n.raise_on_missing_translations = true |
45 | |
46 # Annotate rendered view with file names. | |
47 # config.action_view.annotate_rendered_view_with_filenames = true | |
36 | 48 |
37 # Use an evented file watcher to asynchronously detect changes in source code, | 49 # Use an evented file watcher to asynchronously detect changes in source code, |
38 # routes, locales, etc. This feature depends on the listen gem. | 50 # routes, locales, etc. This feature depends on the listen gem. |
39 # config.file_watcher = ActiveSupport::EventedFileUpdateChecker | 51 # config.file_watcher = ActiveSupport::EventedFileUpdateChecker |
52 | |
53 # Uncomment if you wish to allow Action Cable access from any origin. | |
54 # config.action_cable.disable_request_forgery_protection = true | |
40 end | 55 end |