development.log에서 mysql 출력을 사용/사용하지 않도록 설정하는 방법이 있습니까? 예를 들어Rails 3.1에서 Silence ActiveRecord/MySQL 로그 출력?
이 물건 :
SQL (0.4ms) INSERT INTO `billing_infos` (`billing_method`, `city`, `company_id`, `country`, `created_at`, `email`, `fax_number`, `phone_number`, `postal_code`, `province`, `street`, `updated_at`) VALUES (NULL, 'Montreal', NULL, 'Canada', '2011-10-26 20:53:45', NULL, NULL, '(123) 456 7890', 'H1H1H1', 'QC', '1111 Temp', '2011-10-26 20:53:45')
(0.3ms) COMMIT
(0.2ms) BEGIN
(0.1ms) COMMIT
(0.1ms) BEGIN
(0.4ms) SELECT 1 FROM `sectors` WHERE (`sectors`.`name` = BINARY 'General 25' AND `sectors`.`id` != 1) LIMIT 1
스레드 안정성 문제로 인해 Rails 4.0에서는 더 이상 사용되지 않습니다. 내가 아는 대안은 없어. – aNoble