Remove return value on Rails Console

By default when making a request in the Rails Console, you get a return object with all the values from the object, sometimes when working with big returns, it can mess up with the console.

You can use conf.echo = false and it will not print the return value.

This works for any irb session, not just Rails console.

In case you want to make it permanent, add it to your irb config.

echo 'IRB.conf[:ECHO] = false' >> $HOME/.irbrc