on Rails console. I tried to input something, I don’t want input everything in one line. But when I tried to type “C-Enter” or “Shift-Enter”, it doesn’t work.
What should i do?
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Leave a dangling line of code (ending a line with an operator or a comma)
This won’t work with MRI Ruby 1.9:
However, a better way of doing this would be: