From d1317ae08eb755c55df5d21af65ba9111be05ebe Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 9 Feb 2017 18:04:48 +0800 Subject: Update configuration guide about ActiveRecord's config option. --- guides/source/configuring.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guides/source/configuring.md b/guides/source/configuring.md index bd82035408..251b038ec9 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -368,6 +368,11 @@ All these configuration options are delegated to the `I18n` library. has_many relationships to be displayed with an index as well as the error. Defaults to `false`. +* `config.active_record.use_schema_cache_dump` enables users to get schema cache information + from `db/schema_cache.yml` (generated by `bin/rails db:schema:cache:dump`), instead of + having to send a query to the database to get this information. + Defaults to `true`. + The MySQL adapter adds one additional configuration option: * `ActiveRecord::ConnectionAdapters::Mysql2Adapter.emulate_booleans` controls whether Active Record will consider all `tinyint(1)` columns as booleans. Defaults to `true`. -- cgit v1.2.3