aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-12-13 12:35:24 +0900
committerGitHub <noreply@github.com>2017-12-13 12:35:24 +0900
commit293401809dc597a61e46843019ee8be6ce731429 (patch)
tree17f8cfed3bfbab1532040b7bd2a61bbde6466b63 /guides
parent9d43a84f73c1b3853a91d052a462ee60eccaf957 (diff)
parent011e641d19d235e4ec03fd9eb20ecea644ec5e06 (diff)
downloadrails-293401809dc597a61e46843019ee8be6ce731429.tar.gz
rails-293401809dc597a61e46843019ee8be6ce731429.tar.bz2
rails-293401809dc597a61e46843019ee8be6ce731429.zip
Merge pull request #31423 from bogdanvlviv/fix-protected_environments-with-symbols
Fix protected environments with symbols
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 77398fc95d..b1e472bb74 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -322,6 +322,10 @@ All these configuration options are delegated to the `I18n` library.
* `config.active_record.schema_migrations_table_name` lets you set a string to be used as the name of the schema migrations table.
+* `config.active_record.internal_metadata_table_name` lets you set a string to be used as the name of the internal metadata table.
+
+* `config.active_record.protected_environments` lets you set an array of names of environments where destructive actions should be prohibited.
+
* `config.active_record.pluralize_table_names` specifies whether Rails will look for singular or plural table names in the database. If set to `true` (the default), then the Customer class will use the `customers` table. If set to false, then the Customer class will use the `customer` table.
* `config.active_record.default_timezone` determines whether to use `Time.local` (if set to `:local`) or `Time.utc` (if set to `:utc`) when pulling dates and times from the database. The default is `:utc`.