怎么做?我很想将它放在log / development_sql.log文件中.
谢谢
ActiveRecord::Base.logger = Logger.new('log/development_sql.log')