aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-02-09 22:11:08 -0300
committerGitHub <noreply@github.com>2017-02-09 22:11:08 -0300
commite04de27b2fb0dffdf54316c42bc9669023877d51 (patch)
treed8ab8b2b42f406d5411fc9b5c6802971aa544c2a /guides
parentcabb212976703dac46bacc36addf70a232e96e71 (diff)
parentd1317ae08eb755c55df5d21af65ba9111be05ebe (diff)
downloadrails-e04de27b2fb0dffdf54316c42bc9669023877d51.tar.gz
rails-e04de27b2fb0dffdf54316c42bc9669023877d51.tar.bz2
rails-e04de27b2fb0dffdf54316c42bc9669023877d51.zip
Merge pull request #27950 from st0012/update-configuration-guide
Update configuration guide about ActiveRecord's use_schema_cache_dump option [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md5
1 files changed, 5 insertions, 0 deletions
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`.