I’m developing project on rails 2.3.8 and I need to get alert box on middle of a method in one of my controller. Is it possible to do so on rails ? Please can expert share your idea about this ?
Share
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.
Use rubymine, it will allow you to debug your rails process, and you can place breakpoints and then step through your method.
You can resort to the more manual options of debugging.
Aside from debugging with rubymine, sometimes the fastest way is just writing stuff in the logfile.