aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-12-12 23:20:14 +0000
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-12-12 23:31:25 +0000
commit011e641d19d235e4ec03fd9eb20ecea644ec5e06 (patch)
tree17f8cfed3bfbab1532040b7bd2a61bbde6466b63 /guides
parent1a411d4b7f34df2471a93517ad15cc2682bbdbe2 (diff)
downloadrails-011e641d19d235e4ec03fd9eb20ecea644ec5e06.tar.gz
rails-011e641d19d235e4ec03fd9eb20ecea644ec5e06.tar.bz2
rails-011e641d19d235e4ec03fd9eb20ecea644ec5e06.zip
Update 'Configuring Rails Applications' guide
- Add mention about `config.active_record.internal_metadata_table_name` - Add mention about `config.active_record.protected_environments`
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`.