How to suppress Rails console/irb outputs

后端 未结 6 971
一生所求
一生所求 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:41

    running the following within irb works for me:

    irb_context.echo = false
    

提交回复
热议问题