Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix doc format for `RecordFetchWarning` [ci skip] | Ryuta Kamizono | 2016-09-27 | 1 | -3/+3 |
| | |||||
* | activerecord: allocate fewer arrays in `RecordFetchWarning` | Tamir Duberstein | 2016-01-04 | 1 | -6/+4 |
| | |||||
* | docs, get rid of artifact in `RecordFetchWarning` docs. | Yves Senn | 2015-11-07 | 1 | -0/+2 |
| | | | | | | | [ci skip] There was a `ActiveRecord::Relation::RecordFetchWarning::ActiveSupport` artifact caused by subscribing to AS notifications. | ||||
* | [skip ci] Improve `warn_on_records_fetched` documentation | Jon Atack | 2015-03-27 | 1 | -3/+2 |
| | | | | | | | | - ‘dection’ -> ‘detection’ - ‘exceeds threshold’ -> ‘exceeds the threshold’ - Other minor improvements. | ||||
* | Add `config.active_record.warn_on_records_fetched_greater_than` option | Jason Nochlin | 2015-03-25 | 1 | -0/+50 |
When set to an integer, a warning will be logged whenever a result set larger than the specified size is returned by a query. Fixes #16463 The warning is outputed a module which is prepended in an initializer, so there will be no performance impact if `config.active_record.warn_on_records_fetched_greater_than` is not set. |