LoginSignup
7

More than 5 years have passed since last update.

posted at

rails consoleでログにsqlを表示させない方法

consoleを立ち上げてる状態で以下入力

ActiveRecord::Base.logger = nil

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
7