aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2013-01-06 12:23:19 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2013-01-06 12:23:19 +0100
commit26365d03b9a4350001aa35ac6f72f96f823f3113 (patch)
treeee71eb3452bbf5624603e6c54a7fb862a4f6d8b7 /railties
parent253cdc8b5b9a627287491039e11ae2381d5f0fe8 (diff)
downloadrails-26365d03b9a4350001aa35ac6f72f96f823f3113.tar.gz
rails-26365d03b9a4350001aa35ac6f72f96f823f3113.tar.bz2
rails-26365d03b9a4350001aa35ac6f72f96f823f3113.zip
Include the standard reminder that you need to restart for changes in config/initializers to take effect
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb2
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb b/railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb
index e203fcee0a..4a994e1e7b 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb
@@ -1,2 +1,4 @@
+# Be sure to restart your server when you modify this file.
+
# Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += [:password]
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb b/railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb
index a8285f88ca..d89dac7c6a 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb
@@ -1,3 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
# Rails.application.config.time_zone = 'Central Time (US & Canada)'