いわば「非標準」の方法で MySQL を使用するアプリを作成しています。動的に作成/削除されたテーブルに大きく依存しています。
これまでのところ、正常に機能しています。ただ、スペックは満足できるものではありません。それらを実行するたびに、大量の activerecord の ddl ログ メッセージが表示されます。自分で見て:
SqlDailyEvents
-- create_table("11_daily_events_20120428")
-> 0.0032s
should create and drop a table
-- create_table("11_daily_events_20120428")
-> 0.0030s
should not create the same table twice
should not drop the same table twice
それは--format d
。それはさらに悪いように--format p
見えます!
オフにするにはどうすればよいですか?ActiveRecord::Base.logger
このログは(に設定してみました) の影響を受けないようnil
です。