Logo

TODAY I LEARNED

4278b9e9f9567f549af9a726e61db47d

1 post by juan-lopez
@jclopezdev

Heroku console (IRB) with no "multiline"

If you need to paste a script in the Heroku console (IRB) with multiple lines and you notice it's very slow to finish pasting all the code, you can use the --nomultiline tag to disable multiline and let you run your script faster

heroku run 'bundle exec rails c -- --nomultiline'

Learned by juan-lopez on Mar 1, 2021

973983 adforcodereview v3 0211021 c02 021121