diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-06-22 16:15:48 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-06-22 16:15:48 -0300 |
commit | 48f896cd504331a5d1d78324a4b7d5969a06606e (patch) | |
tree | 114c679779de12cea86fcde44ffbab05ddaedb7e /railties/lib/rails/generators | |
parent | d75844dba9cc3e5fd2552b4826d2307b50e2b2ef (diff) | |
download | rails-48f896cd504331a5d1d78324a4b7d5969a06606e.tar.gz rails-48f896cd504331a5d1d78324a4b7d5969a06606e.tar.bz2 rails-48f896cd504331a5d1d78324a4b7d5969a06606e.zip |
Initialize the configuration with a value
This will fix the failures fixed by
41488adbb89a09fa96188486f8414842ff28c848
and keep this new option that is semi-private
outside of the generated configurations
Diffstat (limited to 'railties/lib/rails/generators')
3 files changed, 0 insertions, 9 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt index dd4745eb99..f3ccf95045 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt @@ -57,7 +57,4 @@ Rails.application.configure do # Use an evented file watcher to asynchronously detect changes in source code, # routes, locales, etc. This feature depends on the listen gem. <%= '# ' unless depend_on_listen? %>config.file_watcher = ActiveSupport::EventedFileUpdateChecker - - # Enable the autoload loading behavior even if the application is eager loaded - config.enable_dependency_loading = false end diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index 7afb17f733..363af05459 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -91,7 +91,4 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false <%- end -%> - - # Enable the autoload loading behavior even if the application is eager loaded - config.enable_dependency_loading = false end diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt index eabbbc2eab..42fee3b036 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt @@ -41,7 +41,4 @@ Rails.application.configure do # Raises error for missing translations # config.action_view.raise_on_missing_translations = true - - # Enable the autoload loading behavior even if the application is eager loaded - config.enable_dependency_loading = false end |