diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-26 16:05:16 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-26 16:05:16 -0600 |
commit | 118232aef4094ce0a1dfbb827b672509e7c33542 (patch) | |
tree | b7c4623ade1deae4755b3ce729b780c2270afa47 /guides/source/configuring.md | |
parent | 2794de05d6b7d5c2a8dd00dc69b585b3e45c4bc1 (diff) | |
parent | 21e448b5a5ab4dec6fd129f4eaba971d46a12bb1 (diff) | |
download | rails-118232aef4094ce0a1dfbb827b672509e7c33542.tar.gz rails-118232aef4094ce0a1dfbb827b672509e7c33542.tar.bz2 rails-118232aef4094ce0a1dfbb827b672509e7c33542.zip |
Merge pull request #19686 from tsun1215/index_errors
Errors can be indexed with nested attributes
Close #8638
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index e2206667e8..e2125cae2e 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -313,6 +313,10 @@ All these configuration options are delegated to the `I18n` library. by a query exceeds the threshold, a warning is logged. This can be used to identify queries which might be causing memory bloat. +* `config.active_record.index_nested_attribute_errors` allows errors for nested + has_many relationships to be displayed with an index as well as the error. + Defaults to false. + The MySQL adapter adds one additional configuration option: * `ActiveRecord::ConnectionAdapters::MysqlAdapter.emulate_booleans` controls whether Active Record will consider all `tinyint(1)` columns in a MySQL database to be booleans and is true by default. |