2020-08-28 【rails】inspect logger.debug(@user.inspect)のように使うとlogで変数の中身を確認することができる。 tail -f log/development.logのコマンドでリアルタイムにlogを見ることができる。