How to disable running explain command in dev mode in Rails3
User Load (615.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 12 LIMIT 1
EXPLAIN (604.5ms) EXPLAIN SELECT `users`.* FROM `users` WHERE `users`.`id` = 12 LIMIT 1
EXPLAIN for: SELECT `users`.* FROM `users` WHERE `users`.`id` = 12 LIMIT 1
According to this guide, setting the
config.active_record.auto_explain_threshold_in_secondstonilwill disable it.