Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アクティブレコードのSQLクエリログの無効化に関するすべてのトピックに従いました。Rails 3.2.xで正しく無効にする方法を誰が知っていますか?
これを試してみてください-アクティブレコードのログをnullに送信します:
if Rails.env.development? ActiveRecord::Base.logger = Logger.new('/dev/null') end