Stop rails console from printing out the object at the end of a loop

后端 未结 0 1587
悲哀的现实
悲哀的现实 2020-12-23 00:13

If I, say, loop through all the instances of a given model and output something from each, at the end, irb will still print the entire object.

If the object ends up

相关标签:
回答
  • 消灭零回复
提交回复
热议问题