aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-03-01 14:36:32 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-03-01 14:36:32 -0300
commitbc57930e09d20ee2cdc4b5aa7200b155ba755f22 (patch)
tree4df498de85a52d4bc07279362d586d23862d29f4 /guides
parentf2c707a64ee8683ee7bc4f1bc0254afcaa0ff676 (diff)
parent08a748118377f22823e06315f57db16e1ce3a7c3 (diff)
downloadrails-bc57930e09d20ee2cdc4b5aa7200b155ba755f22.tar.gz
rails-bc57930e09d20ee2cdc4b5aa7200b155ba755f22.tar.bz2
rails-bc57930e09d20ee2cdc4b5aa7200b155ba755f22.zip
Merge pull request #23417 from sgringwe/master
Add option to error on ignored order or limit
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 41985c3661..1d3ff6e6e7 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -281,6 +281,8 @@ All these configuration options are delegated to the `I18n` library.
* `config.active_record.schema_format` controls the format for dumping the database schema to a file. The options are `:ruby` (the default) for a database-independent version that depends on migrations, or `:sql` for a set of (potentially database-dependent) SQL statements.
+* `config.active_record.error_on_ignored_order_or_limit` specifies if an error should be raised if the order or limit of a query is ignored during a batch query. The options are true (raise error) or false (warn). Default is false.
+
* `config.active_record.timestamped_migrations` controls whether migrations are numbered with serial integers or with timestamps. The default is true, to use timestamps, which are preferred if there are multiple developers working on the same application.
* `config.active_record.lock_optimistically` controls whether Active Record will use optimistic locking and is true by default.