Rails Debug via Console

Ruby, Ruby on Rails, 2015-06-17 08:18:56 UTC

One thing that is important when we make an application is how we keep tracing the error.

Rails framework package by default using Webrick webserver. In the development process, we can see what is happening behind the scenes through a console.

We can make the console gives a message that the application runs properly or not.

Ruby commands work well here. We can write a command to figure goes as follows;


In the console look like follow;