From 011e641d19d235e4ec03fd9eb20ecea644ec5e06 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Tue, 12 Dec 2017 23:20:14 +0000 Subject: [PATCH] Update 'Configuring Rails Applications' guide - Add mention about `config.active_record.internal_metadata_table_name` - Add mention about `config.active_record.protected_environments` --- guides/source/configuring.md | 4 ++++ 1 file changed, 4 insertions(+) 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`.