🔥

RSpecでSQL実行ログを表示する

に公開
rails_helper.rb
config.before(:each) do
  ActiveRecord::Base.logger = Logger.new(STDOUT)
end

以上

Discussion