Commit 2160522c authored by Dmitry Gruzd's avatar Dmitry Gruzd

Enable warn_on_records_fetched_greater_than in dev

parent 350f0286
......@@ -11,6 +11,9 @@ Rails.application.configure do
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Show a warning when a large data set is loaded into memory
config.active_record.warn_on_records_fetched_greater_than = 1000
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment