1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/relation
Jason Nochlin 4d6fbe2934 Add config.active_record.warn_on_records_fetched_greater_than option
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.
2015-03-25 16:50:11 -04:00
..
delegation_test.rb
merging_test.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
mutation_test.rb Move the from bind logic to a FromClause class 2015-01-26 16:36:14 -07:00
or_test.rb Post.all.or(anything) == Post.all 2015-01-29 13:57:47 -07:00
predicate_builder_test.rb Should escape regexp wildcard character . 2015-01-19 06:11:29 +09:00
record_fetch_warning_test.rb Add config.active_record.warn_on_records_fetched_greater_than option 2015-03-25 16:50:11 -04:00
where_chain_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
where_clause_test.rb Post.all.or(anything) == Post.all 2015-01-29 13:57:47 -07:00
where_test.rb Respect custom primary keys for associations in Relation#where 2015-02-04 08:56:46 -07:00