Tip : "Clear" in Rails Console
I don’t know about you, It doesnt feel nice when i am working at the bottom of my terminal window, or there’s a huge unnecessary output above where I’m working.
Unfortunately, the typical terminal clear command doesn’t work in the console:
>> clear NameError: undefined local variable or method 'clear' for # from (irb):1So here is the trick use ctrl + l (with a lowercase L) and for Mac users, Command + k
Thank you! I was feeling uncomfortable at the bottom of the terminal window.
ReplyDelete