How to suppress Rails console/irb outputs

后端 未结 6 993
一生所求
一生所求 2020-12-07 14:01

I\'m stuck with a pretty weird problem.

I was testing some db entries in our production server in Rails Console where almost all the commands were resulting a huge n

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-07 14:43

    irb --simple-prompt --noecho
    
    • --simple-prompt - Uses a simple prompt - just >>
    • --noecho - Suppresses the result of operations

提交回复
热议问题